Forum Discussion
eda_ogut
17 years agoOccasional Contributor
When I sending my request with SOAPUI Plugin I can add, WS-A, TimeStamp, Username Token, but when I generate code with Axis2 from SOAPUI project, there is no WS-A, TimeStamp, Username Token in env.
Is there a way to generate code with all my addings by SOAPUI ?
You can see differences with SOAPUI and generated code env ;
SOAPUI message
xmlns:tem="http://tempuri.org/">
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
userXXX
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">passXXX
lcgS3HFXw22JCM3sP2b0Lw==
2009-02-13T12:28:48.843Z
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
2009-02-13T10:02:12.859Z
2009-02-13T10:03:12.859Z
http://tempuri.org/ServiceSoap/XXXRequest
http://schemas.xmlsoap.org/ws/2004/08/a ... /anonymous
20e22a51-c884-4cf5-876c-2f9ba52df12c
http://x.x.x.x/WebServis/Service.asmx
345
678
userXXX
4
-----------------------------------------------------------------------------------------------
Generate code envelope
------------------------------------
345
678
userXXX
4
Is there a way to generate code with all my addings by SOAPUI ?
You can see differences with SOAPUI and generated code env ;
SOAPUI message
xmlns:tem="http://tempuri.org/">
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">passXXX
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
http://schemas.xmlsoap.org/ws/2004/08/a ... /anonymous
-----------------------------------------------------------------------------------------------
Generate code envelope
------------------------------------