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 error - OperationType: ONE-WAY instead Request-Response

Post new topic  Reply to topic
 WSDL error - OperationType: ONE-WAY instead Request-Response « View previous topic :: View next topic » 
Author Message
szab
PostPosted: Sat Nov 28, 2009 4:02 am    Post subject: WSDL error - OperationType: ONE-WAY instead Request-Response Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Sat Nov 28, 2009 4:12 am    Post subject: Reply with quote

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
View user's profile Send private message
szab
PostPosted: Sat Nov 28, 2009 6:58 am    Post subject: WSDL error - OperationType: ONE-WAY instead Request-Response Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Sat Nov 28, 2009 10:06 am    Post subject: Re: WSDL error - OperationType: ONE-WAY instead Request-Resp Reply with quote

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
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 » WSDL error - OperationType: ONE-WAY instead Request-Response
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.