web stats
Mirth Community - View Single Post - Receiving SOAP Envelope in Custom Web Service
View Single Post
  #4  
Old 01-30-2013, 11:10 PM
mlizana mlizana is offline
Mirth Newb
 
Join Date: Jun 2011
Location: Mataró (Barcelona)
Posts: 24
mlizana is on a distinguished road
Red face

Now I changed the class by this, adding the namespace also to the parameter, because it has the same namespace in the definition (CCI):

Code:
	@WebMethod(operationName = "MA44")
	@WebResult(name = "MA44Response")
	public String MA44(@WebParam(name="MensEntrada",targetNamespace="http://CCI.Servicios/") String message) {
		return webServiceMessageReceiver.processData(message);
	}
And now I obtain a blank message "", but not null. So, what's the problem now? I think it doesn't apply correctly the XML namespace of the SOAPBody content, but I don't know how to change it.

Any ideas?
Reply With Quote