Hi Ruchith,
Axis engine with wss4j plugged in is happy with the
relevant code commented out for the call in
WSDaAllReceiver :
...
if (!checkReceiverResults(wsResult, actions)) {
...
Tomcat doesnt complain ... and even the .NET client
doesnt ... actually until it receives the soap
response ...
I have enabled the inputtrace and output trace...
please let me know if u wd like all the logs and
artifacts .. from both the .net side(wse2.0 sp3) and
java side(tomcat+axis+wss4j)...
by the way ... my actual server side wsdd config is as
under. I am not sure if this is correct as I am 2
weeks new to wss4j now :) ....
Just fyi my global configs have :
<parameter name="disablePrettyXML" value="true"/>
and
<parameter name="dotNetSoapEncFix" value="true"/>
and
<parameter name="enableNamespacePrefixOptimization"
value="false"/>
The 'stock-wss-01' wss4j demo service specific stuff
follows:
<service name="stock-wss-01" provider="java:RPC"
style="document" use="literal">
<requestFlow>
<handler
type="java:org.apache.ws.axis.security.WSDoAllReceiver">
<parameter name="enableSignatureConfirmation"
value="false"/>
<parameter name="passwordCallbackClass"
value="stockservice.security.PWCallback"/>
<parameter name="action" value="UsernameToken"/>
</handler>
</requestFlow>
<responseFlow>
<handler
type="java:org.apache.ws.axis.security.WSDoAllSender"
>
<parameter name="enableSignatureConfirmation"
value="false"/>
<parameter name="passwordCallbackClass"
value="stockservice.security.PWCallback"/>
<parameter name="user" value="wss4j"/>
<!--parameter name="action"
value="UsernameToken"/-->
<parameter name="action" value="Timestamp
UsernameToken"/>
<parameter name="mustUnderstand" value="false"/>
<parameter name="addUTElements" value="Nonce Created"
/>
<parameter name="passwordType" value="PasswordText"/>
<!--parameter name="passwordType"
value="PasswordDigest"/-->
</handler>
</responseFlow>
<parameter name="allowedMethods" value="getQuote
test"/>
<!--parameter name="scope" value="application"/-->
<parameter name="className"
value="samples.stock.StockQuoteService"/>
</service>
Maybe you can guide me to some resourceful
documentation on this ..etc. ?
Many thanks,
Dev.
--- Ruchith Fernando <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> Does the wss4j 1.5.0 enabled axis webservice
> complain with an error?
> If so what is the error?
>
> Can you also send a sample message that your .NET
> client generates.
>
> Thanks,
> Ruchith
>
> On 11/11/06, ws_dev2001 <[EMAIL PROTECTED]>
> wrote:
> > Can someone please come out with code and
> declarative
> > xml samples for .NET WSE2.0SP3
> > and WSS4J 1.5.0 wss-stock demo which ships with
> the
> > WSS4J 1.5.0 distro ?
> > I am attaching the client_deply.wsdd for wss4j to
> > .NET2.0 sp3 call which
> > is a success. I am stumped with the call from .NET
> > WSE2.0SP3 console client
> > to a wss4j 1.5.0 enabled axis webservice.
> >
> > <deployment
> xmlns="http://xml.apache.org/axis/wsdd/"
> >
>
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">
> >
> > <transport name="http"
> >
>
pivot="java:org.apache.axis.transport.http.HTTPSender"/>
> >
> > <globalConfiguration >
> > <requestFlow >
> > <handler
> >
>
type="java:org.apache.ws.axis.security.WSDoAllSender"
> > >
> > <parameter name="action" value="UsernameToken
> > Timestamp"/>
> > <parameter name="user" value="domain\user"/>
> > <parameter name="passwordCallbackClass"
> > value="com.wss4j.client.PWCallback"/>
> > <parameter name="addUTElements" value="Nonce
> > Created"/>
> > <parameter name="passwordType"
> > value="PasswordText"/>
> > <parameter name="mustUnderstand"
> value="false"/>
> >
> > </handler>
> > </requestFlow >
> >
> > </globalConfiguration >
> >
> > </deployment>
> > Many thanks,
> > Dev.
> >
> > Send instant messages to your online friends
> http://uk.messenger.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
>
> --
> www.ruchith.org
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
>
Send instant messages to your online friends http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]