Hi!

i have a web service published with axis. now i want one of the methods to
call another web service when it gets invoked. naive like i am i thought i
just put the following lines in my ws method:

--- --- ---
        // new stub object
        org.tnms.ots.client.OpenTrustServiceBindingStub ots =
                new org.tnms.ots.client.OpenTrustServiceBindingStub
                        (new java.net.URL("http://127.0.0.1/axis/services/OTS";), null);

        // set some soap headers (http://127.0.0.1/xmlschema/a_scheme is just a
dummy)

ots.setHeader("http://127.0.0.1/xmlschema/a_scheme","somesamplesoapheader",";
xyz");
        // ask trustpartner for authentication
        boolean isOkay = ots.isOkay(); // -> fault message
--- --- ---

when my client now calls the web service, everything works fine until it
gets to the code above - then i get the following axis fault message:

AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.net-SocketException: Connection reset
faultActor:
faultNode:
faultDetail: ...

Any ideas how to realise my web service calling web service?

Cheers,

Rick.
------------
Richard Alan Herz, Dipl. Wirtsch. Inf.
Ce-bIS, Otto-Friedrich-Universit�t Bamberg
Centre of business information systems
Kronacher Stra�e 41
D-96052 Bamberg

Phone +49 (0)951 4 07 63-14
Fax   +49 (0)951 4 07 63-29
Mail  [EMAIL PROTECTED]

** Ce-bIS @ CeBIT Asia 2004 (Shanghai, 26. - 29.4): Future Parc
*** Ce-bIS @ CeBIT America 2004 (New York, 24. - 27.5): Future Parc

Reply via email to