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 » WSDL-Empty Request message in Req/Res pattern

Post new topic  Reply to topic
 WSDL-Empty Request message in Req/Res pattern « View previous topic :: View next topic » 
Author Message
GeneRK4
PostPosted: Mon Jul 28, 2014 5:27 am    Post subject: WSDL-Empty Request message in Req/Res pattern Reply with quote

Master

Joined: 08 Jul 2013
Posts: 220

We have a simple SOAP Input message as below.SOAPAction is also coming in the input message.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body/>
</soapenv:Envelope>

In WSDL bindings section,its been defined as below,
<wsdl:binding name="POCNoReqParametersHttpBinding" type="tns:POCNoReqParameters">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetDetails">

<soap:operation soapAction="http://POCNoReqParameters/GetDetails"/>

<wsdl:output name="GetDetailsResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

We are not facing any issue in importing WSDL.

But we are getting the below error,
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>The Operation could not be found. The endpoint reference (EPR) for the Operation not found is: 'http://localhost:7800/POCNoReqParameters/POCNoReqParameters' and the SOAPAction was 'http://POCNoReqParameters/GetDetails'</faultstring>
<detail>
<Exception>org.apache.axis2.AxisFault: The Operation could not be found. The endpoint reference (EPR) for the Operation not found is: 'http://localhost:7800/POCNoReqParameters/POCNoReqParameters' and the SOAPAction was 'http://POCNoReqParameters/GetDetails'
at com.ibm.broker.axis2.Axis2Invoker.invokeAxis2(Axis2Invoker.java:3075)
at com.ibm.broker.axis2.TomcatNodeRegistrationUtil.invokeAxis2(TomcatNodeRegistrationUtil.java:663)
at com.ibm.broker.axis2.TomcatNodeRegistrationUtil.invokeAxis2(TomcatNodeRegistrationUtil.java:609)</Exception>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>

Though SOAPAction is coming as 'http://POCNoReqParameters/GetDetails',we are getting the above error as not detecting operation.

Though WSDL is accepting this form of empty request,why SOAPInput producing this error?Is there any parameter we need to tune up?Please advice

Note:This is not WSDL Notification pattern
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 29, 2014 4:16 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Operation not found....

Make certain you generate the wsdl bindings as last operation before importing the wsdl into your message model...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » WSDL-Empty Request message in Req/Res pattern
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.