[jboss-dev-forums] [JBoss ESB Development] - Wise based soap client for esb
nehal shah
do-not-reply at jboss.com
Fri Mar 26 18:51:28 EDT 2010
nehal shah [http://community.jboss.org/people/nehalshah50] replied to the discussion
"Wise based soap client for esb"
To view the discussion, visit: http://community.jboss.org/message/534252#534252
--------------------------------------------------------------
I have a requirement to add SOAP header as shown below, while making a SOAP call using SOAPClient action. My problem is all the information I need to build the header is located in the jboss-esb.properties file and in the parameter map. Parameter map object for building the SOAP Body doesn't contain this information. My question is how I should make this happen using SOAPClient action. I looked at the given examples and it looks like there is a provision for smooksHandler config to create SOAP Headers but not getting any clue.
<soap:Envelope xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=" http://www.w3.org/2001/XMLSchema http://www.w3.org/2001/XMLSchema" xmlns:soap=" http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<UserAuthInfo xmlns=" http://realpage.com/webservices http://realpage.com/webservices">
<UserName>string</UserName>
<Password>string</Password>
<SiteID>xxxxx</SiteID>
<PmcID>xxxxx</PmcID>
</UserAuthInfo>
</soap:Header>
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/534252#534252]
Start a new discussion in JBoss ESB Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2032]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20100326/3664a244/attachment.html
More information about the jboss-dev-forums
mailing list