Thanks Anne for your response. Allow me to rephrase my question:

I have generated client stubs using wsdl2java with xmlbeans databindings. Unfortunately, my client does not seem to be setting the WSA Action. What could be the problem?

-Jonathan Winskill

On Jul 9, 2007, at 3:25 PM, Jonathan Winskill wrote:

I haven't, as the example in the user guide makes no mention of it. My client is written as follows. How would I go about setting it?

   public static void main(String args[])
   {
      try{
RSTBServiceStub stub = new RSTBServiceStub("http:// localhost:8080/axis2/services/RSTBService");
         AddSeriesToPriorityListRequestDocument req =
AddSeriesToPriorityListRequestDocument.Factory.newInstance();

AddSeriesToPriorityListRequestDocument.AddSeriesToPriorityListRequest data =
            req.addNewAddSeriesToPriorityListRequest();
         data.setSeriesID("ABCD12345");

         AddSeriesToPriorityListResponseDocument res =
            stub.addSeriesToPriorityList(req);
System.out.println(res.getAddSeriesToPriorityListResponse ().getSeriesPriorityListEntryId());
      }catch(Exception e){
         e.printStackTrace();
      }

   }

Thanks,
Jonathan Winskill





On Jul 9, 2007, at 3:09 PM, Anne Thomas Manes wrote:

It looks like you haven't set the WSA Action.

Anne

On 7/9/07, Jonathan Winskill <[EMAIL PROTECTED]> wrote:
Hello,

I've deployed a webservice on axis2-1.2/tomcat 6, and am now trying
to run a test client similar to an example in the user guide (http:// ws.apache.org/axis2/1_2/userguide-creatingclients-xmlbeans.html), but
I'm encountering the following error:

org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
Operation not found is http://localhost:8080/axis2/services/
RSTBService and the WSA Action =
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext
(Utils.java:502)
        at
org.apache.axis2.description.OutInAxisOperationClient.handleResponse
(OutInAxisOperation.java:342)
at org.apache.axis2.description.OutInAxisOperationClient.send
(OutInAxisOperation.java:379)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl
(OutInAxisOperation.java:210)
        at org.apache.axis2.client.OperationClient.execute
(OperationClient.java:163)
        at
com.comcast.cpe.remotestb.services.RSTBServiceStub.addSeriesToPriori tyLi
st(RSTBServiceStub.java:755)
        at com.streamsage.rdvr.TestClient.main(TestClient.java:31)

There are no errors in the tomcat logs. Any help would be greatly
appreciated. Please let me know if I can provide any additional
information.

-Jonathan Winskill


-------------------------------------------------------------------- -
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to