ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Webservice Soap response problem

Post new topic  Reply to topic
 Webservice Soap response problem « View previous topic :: View next topic » 
Author Message
dosttumhara1810
PostPosted: Mon Jan 17, 2011 12:52 am    Post subject: Webservice Soap response problem Reply with quote

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 &apos;ecomFlow.MQOutput&apos;. : 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: &apos;cvc-complex-type.3.2: Attribute &quot;portTypeNamespace&quot; is not allowed to appear in element &quot;Context&quot;.&apos; : 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
View user's profile Send private message
fatherjack
PostPosted: Mon Jan 17, 2011 1:14 am    Post subject: Re: Webservice Soap response problem Reply with quote

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 &apos;ecomFlow.MQOutput&apos;.


The problem is with your xml
dosttumhara1810 wrote:
BIP5026E: XML schema validation error: &apos;cvc-complex-type.3.2: Attribute &quot;portTypeNamespace&quot; is not allowed to appear in element &quot;Context&quot;.&apos;

_________________
Never let the facts get in the way of a good theory.
Back to top
View user's profile Send private message
dosttumhara1810
PostPosted: Mon Jan 17, 2011 1:18 am    Post subject: Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

I have connect the failure terminals of each node with MQOutput node
Back to top
View user's profile Send private message
fatherjack
PostPosted: Mon Jan 17, 2011 1:30 am    Post subject: Reply with quote

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
View user's profile Send private message
dosttumhara1810
PostPosted: Mon Jan 17, 2011 1:43 am    Post subject: Reply with quote

Voyager

Joined: 01 Dec 2010
Posts: 76

i didn't get you
Back to top
View user's profile Send private message
fatherjack
PostPosted: Mon Jan 17, 2011 2:23 am    Post subject: Reply with quote

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
View user's profile Send private message
mqjeff
PostPosted: Mon Jan 17, 2011 2:46 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Webservice Soap response problem
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.