BIP3701E: A Java exception was thrown whilst calling the Java JNI method ''Axis2Requester_processRequestMessageNonSoap''. The Java exception was ''org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x50) was found in the prolog of the document.''. The Java stack trace was ''Frame : 0 org.apache.axiom.om.OMException: javax.xml.stream.XMLStreamException: An invalid XML character (Unicode: 0x50) was found in the prolog of the document.
**************************************
SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL = 'http://xxx.com:port/apps/try/GetPromoPriceService';
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:soapenv = soapenv;
SET OutputRoot.SOAP.Context.Namespace.(SOAP.NamespaceDecl)xmlns:try = try;
SET OutputRoot.SOAP.Body.try:ItemDescPriceRequest.try:ItemSKU = '123';
SET OutputRoot.SOAP.Body.try:ItemDescPriceRequest.try:Price = 2.0;
SET OutputRoot.SOAP.Body.try:ItemDescPriceRequest.try:Description = 'First Sellable Item for Promotional purpose';
sounds like a ccsid problem to me. Did you create an xml declaration and did you set the encoding there to UTF-8 ? Add in the OutputRoot.Properties setting the ccsid to 1208 and you should be good. _________________ MQ & Broker admin
I had wrongly set the urlpath in HTTP Transport properties in SOAP input node of calling webservice from SOAPRequest Node.
I set HTTP Transport as http://<hostname:port>/<webservicenamewithpath>
I modified it to <webservicenamewithpath> it started working fine
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum