Hi,
   
   I am new to SOAP protocol.  Any one help me how to contruct SOAP xml 
through my desktop java application using apache cxf framework. 

Following is the sample soap xml, i want to know how to construct this soap
xml using apache cxf (without wsdl) through my java application:

<Envelope xmlns="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:wsse="http://schemas.xmlsoap.org/ws/2003/06/secext";
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion"
xmlns:wsp="http://schemas.xmlsoap.org/ws/2006/10/policy";
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";
 
xmlns:wst="http://schemas.xmlsoap.org/ws/2004/04/trust";
xmlns:sp="http://xxxxxxxxxxxxxxxxxxxx";
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing";>

<Header>
<wsse:Security>
<wsse:UsernameToken Id="user"> 
<wsse:Username>xxxxxxxx</wsse:Username>
<wsse:Password>xxxxx</wsse:Password> 
</wsse:UsernameToken>
</wsse:Security> 
</Header>
<Body> 
<sp:IssuedToken
sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always";>
<sp:Issuer>
<wsa:Address>http://xxxxxxxxxxxxx</wsa:Address>
<wsa:ReferenceProperties>
<mws:RPSCluster>http://xxxxxxxx</mws:RPSCluster>
<mws:TOU>http://xxxxxxxxxxxxxx</mws:TOU>
<mws:Privacy>http://xxxxxxxxxxxxxx</mws:Privacy>
<mws:LiveIdSignUpUrl>https://xxxxxxxxxxxxxxxx</mws:LiveIdSignUpUrl>
</wsa:ReferenceProperties>
</sp:Issuer>
<sp:RequestSecurityTokenTemplate>
<wst:TokenType>xxxxxxxx</wst:TokenType>
<wst:RequestType>
http://schemas.xmlsoap.org/ws/2004/04/security/trust/Issue
</wst:RequestType>
<wsp:AppliesTo>
<wsa:EndpointReference>
<wsa:Address>xxxxxxxxxxx</wsa:Address>
</wsa:EndpointReference>
</wsp:AppliesTo>
<wsp:PolicyReference URI="MBI_KEY_OLD"/>
</sp:RequestSecurityTokenTemplate>
</sp:IssuedToken>
</Body> </Envelope>  

Thanks in advance.

Please reply as soon as possible.
-- 
View this message in context: 
http://www.nabble.com/How-contruct-SOAP-XML-using-apache-cxf-framework-tp25136889p25136889.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to