Author |
Message
|
dosttumhara1810 |
Posted: Mon Jan 17, 2011 12:52 am Post subject: Webservice Soap response problem |
|
|
Voyager
Joined: 01 Dec 2010 Posts: 76
|
Hi All,
i have created a weservice in which i have called another webservice using SoapRequest node.
HttpInput-->SoapRequest-->httpReply
I am sending a proper soap request message in nettool and HttpInput receives the request call webservice using soap request and i am not getting the proper soap response. The error i am getting in nettol is
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server</faultcode>
<faultstring>BIP3113E: Exception detected in message flow ecomFlow (broker MQBRKECOM) </faultstring>
<faultactor>http://localhost:7080/ICC_OM_WCS/test</faultactor>
<detail><text>Exception. BIP2230E: Error detected whilst processing a message in node 'ecomFlow.MQOutput'. : F:\build\S610_P\src\DataFlowEngine\ImbMqOutputNode.cpp: 910: ImbMqOutputNode::evaluate: ComIbmMQOutputNode: ecomFlow#FCMComposite_1_4
BIP3605E: The SOAP logical tree cannot be serialized. : F:\build\S610_P\src\WebServices\WSLibrary\ImbSOAPParser.cpp: 1209: ImbSOAPParser::refreshBitStreamFromElements: :
BIP5010E: XML Writing Errors have occurred. : F:\build\S610_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCParser.cpp: 737: ImbXMLNSCParser::refreshBitStreamFromElementsCommon: ComIbmWSInputNode: ecomFlow#FCMComposite_1_5
BIP5026E: XML schema validation error: 'cvc-complex-type.3.2: Attribute "portTypeNamespace" is not allowed to appear in element "Context".' : F:\build\S610_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCDocHandler.cpp: 550: ImbXMLNSCDocHandler::handleParseErrors: ComIbmWSInputNode: ecomFlow#FCMComposite_1_5</text></detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope> |
|
Back to top |
|
 |
fatherjack |
Posted: Mon Jan 17, 2011 1:14 am Post subject: Re: Webservice Soap response problem |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
Please can you describe your message flow in more detail. The error is occurring in an MQOutput node. Where's this?
dosttumhara1810 wrote: |
Error detected whilst processing a message in node 'ecomFlow.MQOutput'. |
The problem is with your xml
dosttumhara1810 wrote: |
BIP5026E: XML schema validation error: 'cvc-complex-type.3.2: Attribute "portTypeNamespace" is not allowed to appear in element "Context".' |
_________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
dosttumhara1810 |
Posted: Mon Jan 17, 2011 1:18 am Post subject: |
|
|
Voyager
Joined: 01 Dec 2010 Posts: 76
|
I have connect the failure terminals of each node with MQOutput node |
|
Back to top |
|
 |
fatherjack |
Posted: Mon Jan 17, 2011 1:30 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
OK. So now fix your xml. _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
dosttumhara1810 |
Posted: Mon Jan 17, 2011 1:43 am Post subject: |
|
|
Voyager
Joined: 01 Dec 2010 Posts: 76
|
|
Back to top |
|
 |
fatherjack |
Posted: Mon Jan 17, 2011 2:23 am Post subject: |
|
|
 Knight
Joined: 14 Apr 2010 Posts: 522 Location: Craggy Island
|
dosttumhara1810 wrote: |
i didn't get you |
The exception is telling you that your SOAP xml is invalid; that attribute 'portTypeNamespace' is not allowed to appear in element 'Context'.
What are you doing between the HTTPInput and theSOAPRequest nodes to build the SOAP request? _________________ Never let the facts get in the way of a good theory. |
|
Back to top |
|
 |
mqjeff |
Posted: Mon Jan 17, 2011 2:46 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There are alas some funny things in this area.
Try REIMPORTING the pre-defined soap message. "New Message Definition File From IBM Supplied Message". |
|
Back to top |
|
 |
|