|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WSDL error - OperationType: ONE-WAY instead Request-Response |
« View previous topic :: View next topic » |
Author |
Message
|
szab |
Posted: Sat Nov 28, 2009 4:02 am Post subject: WSDL error - OperationType: ONE-WAY instead Request-Response |
|
|
Novice
Joined: 01 May 2008 Posts: 14
|
Hello!
Could anyone answer for my question?
I'm using WMB v6.1.0.5, and I've been trying to test an exposed webservice generated from this WSDL in WMB( Drag-and-Drop the wsdl file into the message flow)
The message flow is of SOAP Input---Compute node----SOAP Reply node and in the COmpute node i call a stored procedure which retrieves some data, that I use in the Soap Response Body.
Why is OperationType: ONE-WAY in the Context in SOAP Request Message
instead of Request-Response when I call the flow(webservice)? I don't understand...
What did I wrong with the definition of wsdl?
Plz, somebody help me in this!
Thx,
Szab
Code: |
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:hns="http://www.eBank.hu/ESB/HeaderTypes" xmlns:tns="http://www.eBank.hu/Login" xmlns:lns="http://www.eBank.hu/ESB/Login" xmlns="http://schemas.xmlsoap.org/wsdl/" name="Login" targetNamespace="http://www.eBank.hu/Login">
<types>
<xsd:schema targetNamespace="http://www.eBank.hu/Login" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xsd:import namespace="http://www.eBank.hu/ESB/Login" schemaLocation="eBANK_Login.xsd"/>
<xsd:import namespace="http://www.eBank.hu/ESB/HeaderTypes" schemaLocation="eBANK_HeaderTypes.xsd"/>
</xsd:schema>
</types>
<message name="LoginRqMsg">
<part name="Request" element="lns:LoginRequest"/>
<part name="RequestHeader" element="hns:RqHeader"/>
</message>
<message name="LoginRsMsg">
<part name="Response" element="lns:LoginResponse"/>
<part name="ResponseHeader" element="hns:RsHeader"/>
</message>
<portType name="Login_PortType">
<operation name="Login">
<input message="tns:LoginRqMsg"/>
<output message="tns:LoginRsMsg"/>
</operation>
</portType>
<binding name="Login_Binding" type="tns:Login_PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="Login">
<soap:operation soapAction="http://www.eBank.hu/ESB/Login" style="document"/>
<input>
<soap:body parts="Request" use="literal"/>
<soap:header message="tns:LoginRqMsg" part="RequestHeader" use="literal"/>
</input>
<output>
<soap:body parts="Response" use="literal"/>
<soap:header message="tns:LoginRsMsg" part="ResponseHeader" use="literal"/>
</output>
</operation>
</binding>
<service name="LoginService">
<port name="Login_Port" binding="tns:Login_Binding">
<soap:address location="http://localhost:7800/eBank/Login"/>
</port>
</service>
</definitions> |
|
|
Back to top |
|
 |
smdavies99 |
Posted: Sat Nov 28, 2009 4:12 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
If you had looked at the posts on the same page as yours you would have seen this one
http://www.mqseries.net/phpBB2/viewtopic.php?t=51680
Which seemes to describe the same problem as you are seeing.
If this is correct then you might like to raise a PMR. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
szab |
Posted: Sat Nov 28, 2009 6:58 am Post subject: WSDL error - OperationType: ONE-WAY instead Request-Response |
|
|
Novice
Joined: 01 May 2008 Posts: 14
|
Thanks for the answer smdavies99!
But I've found out that if I use this wsdl in previous version of WMB (Version: 6.1.0 Build id: 6.1.0.1-20071218_1344 ), the same flow , SOAPInput ----Compute----SoapReply will send back the wanted SOAP message...
It's interesting though...
Any suggestion how should I overcome this wsdl problem in WBM v6.1.0.5 ?
Szab |
|
Back to top |
|
 |
Vitor |
Posted: Sat Nov 28, 2009 10:06 am Post subject: Re: WSDL error - OperationType: ONE-WAY instead Request-Resp |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
szab wrote: |
Any suggestion how should I overcome this wsdl problem in WBM v6.1.0.5 ? |
Raise a PMR _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|