[Axis 1.4] Addressing: how to change the value of an addressing header of a SOAP request?

2006-06-01 Thread James Gough
I want to change the value of the To: header in my message, I am adding the headers through the use of a .wsdd file as seen below, but I can make the changes in code if necessary: deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java=http://xml.apache.org/axis/wsdd/providers/java;

[Axis 1.4/WSS4J 1.5] Password Digest only on UsernameTokenSignature?

2006-05-31 Thread James Gough
I am attempting to connect to an existing .NET 2.0 SP3 service and I need to use UsernameTokenSignature. I have attached my .wsdd below, Even though I am specifying the passwordType to be PasswordDigest, it always comes out PasswordText. I have tried to override in the stub class to no

Re: WSE 817 error - bad wsdl or just newbie stupidity?

2006-05-16 Thread James Gough
I was able to solve this by adding in a SOAP Header for the To: that they were looking for (I was lucky enough to have a working .NET example, so basically I just mimicked the xml produced by that application as best I could). Of course now I get a 400 error, but there's alot more to send

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread James Gough
I am new to this, so by all means this may not be the way to do it, but perhaps you can try: URL serviceUrl = new URL(http://username:[EMAIL PROTECTED]:7001/webservice/MyService?WSDL); Jim [EMAIL PROTECTED] wrote: I tried the following and I still get a 401 error:

Re: How to do basic http authentication with axis 1.3 client?

2006-05-11 Thread James Gough
? Thanks for the reply James. No dice though. Any other ideas? -joshua *James Gough [EMAIL PROTECTED]* 05/11/2006 02:39 PM Please respond to axis-user To:axis-user@ws.apache.org cc: Subject:Re: How to do basic http

Re: WSE 817 error - bad wsdl or just newbie stupidity?

2006-05-11 Thread James Gough
Thanks, Anne. I'm wondering if there is a way on the client side to signal to the server that you want it to use the Action in the body of the SOAP message and ignore the SOAP Actor in the headers? Jim Anne Thomas Manes wrote: Wed, 10 May 2006 06:06:02 -0700 So you should tell the

[Axis 1.4] WSDL2Java - is there a way to generate code that transmits WSE 2.0 requests?

2006-05-10 Thread James Gough
I'm having issues trying to connect a client generated by Axis's WSDL2Java to an existing .Net-based Web Service. Some of my research indicates that this may be due to the fact that I am sending WSE 3.0 requests to a WSE 2.0 service. Is there a way to have Axis 1.4 create code that sends

WSE 817 error - bad wsdl or just newbie stupidity?

2006-05-09 Thread James Gough
I am very new to Axis and web services in general. I am writing a client for a .NET-based web service using the Axis WSDL2Java generator to create my client. Once I compiled the resulting code and set up a test program for a very small part of the client, I ran it and got this: Destination