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 IndexWebSphere DataPowerAdding SOAP Header to WSDL (rpc/encoded) manually

Post new topicReply to topic
Adding SOAP Header to WSDL (rpc/encoded) manually View previous topic :: View next topic
Author Message
kotha
PostPosted: Wed Oct 10, 2007 6:22 am Post subject: Adding SOAP Header to WSDL (rpc/encoded) manually Reply with quote

Partisan

Joined: 12 Mar 2005
Posts: 333

Datapower expects a soap header for aduting purpose for our apps. Adding SOAP header to doc/literal WSDL is fine but I could not able to do the same with rpc/encoded style WSDL.


I am trying to add soap header to a wsdl which is rpc/encoded style. Here are the snippets:

Namespace:

<xsd:import namespace="http://xyz.com/common/sinfo-v1" schemaLocation="common.xsd"/>

*******************
Message:
****************
</message>

<message name="SinfoMessage">
<part xmlnsartns="http://www.w3.org/2001/XMLSchema" type="soaphdr:sinfo" name="header">
</part>
</message>


*************

Operation:
<soap:header message="tns:SinfoMessage"></soap:header>
************
At the operation part, I am getting validation errors. Could you please suggest the right format to use at operation level.

Thank you.
Back to top
View user's profile Send private message
pathipati
PostPosted: Fri Mar 28, 2008 6:36 am Post subject: Reply with quote

Master

Joined: 03 Mar 2006
Posts: 296

try this...

Quote:
<wsdl:operation name="OperationName">
<soap:operation soapAction="action" style="rpc"/>
<wsdl:input>
<soap:body use="literal"/>
<soap:header message="tns:SinfoMessage" part="head" use="literal"/>
</wsdl:input>
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere DataPowerAdding SOAP Header to WSDL (rpc/encoded) manually
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.