So you should tell the folks that built the service that they should define a more reasonable Actor attribute. To make it easier for consumers, the Actor attribute should be the same as the service endpoint URL.

The wsa:To value specifies the "destination" property, which is a URI that represents the Actor to whom the request is targeted -- not the physical location of the service. (The physical location may change, after all.)

Based on your error message, you should specify the destination property as "urn:AWordICannotFindAnywhereInMyCode".

Anne

On 5/9/06, James Gough <[EMAIL PROTECTED]> wrote:
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 Unreachable --> WSE817: The &lt;To&gt; header must match the
Actor attribute on this receiver. The &lt;To&gt; header contained
&quot;https://ws.somedomain.com/webservices/engine.asmx&quot; whereas
the Actor attribute was &quot;urn:AWordICannotFindAnywhereInMyCode&quot;.

So I looked into the wsdl file and the location attribute of the soap
tag is " https://ws.somedomain.com/webservices/engine.asmx", but the
soapAction attribute of the operation I want to use is
"http://somedomain.com/MinorAction".  Like I said, I am new to this, and
I have access to the guys who set up this wsdl, but prefer to have a
better Idea of what my problem is before I ask for help from them.  I
should add that they have a .NET client for this that does work (my
application is in Java so I'd prefer to use Axis).

Anybody?


Reply via email to