[ 
https://issues.apache.org/jira/browse/AXIS2-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495821
 ] 

Shweta Desai commented on AXIS2-2657:
-------------------------------------

Hi David/amila,

I have regenerated the stub and with soap12 I am able to connect to the server 
at  "http://fsettestprod.edd.ca.gov/fsetproxy/fsetservice.asmx"; with the help 
of TCPMon
(Ip: 134.186.4.85 and port : 80).

But the response now I am getting from the server is something written below. 
Is this mean there is a addressing problem at server side. server using 
different address space from the wsdl?

Server is written in WSE 3.0 with Microsoft technology.


Response:

HTTP/1.1 500 Internal Server Error
Date: Tue, 15 May 2007 00:30:22 GMT
Server: Microsoft-IIS/6.0
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: application/soap+xml; charset=utf-8
Content-Length: 1534



<?xml version="1.0" encoding="utf-8"?>
   <soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"; 
xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";
 
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
      <env:Header xmlns:env="http://www.w3.org/2003/05/soap-envelope";>
         
<wsa:Action>http://schemas.xmlsoap.org/ws/2004/08/addressing/fault</wsa:Action>
         
<wsa:MessageID>urn:uuid:e8d0b152-b808-4926-9f1c-b143c85c34e6</wsa:MessageID>
         
<wsa:RelatesTo>urn:uuid:c68dfbcc-bf83-4034-a686-33dfccc61591</wsa:RelatesTo>
         
<wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>
         <wsse:Security>
            <wsu:Timestamp 
wsu:Id="Timestamp-e0c725e3-53fd-4663-8c5b-70641931d6b7">
               <wsu:Created>2007-05-15T00:30:22Z</wsu:Created>
               <wsu:Expires>2007-05-15T00:35:22Z</wsu:Expires>
            </wsu:Timestamp>
         </wsse:Security>
      </env:Header>
      <soap:Body>
         <soap:Fault>
            <soap:Code>
               <soap:Value 
xmlns:q0="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>q0:Security</soap:Value>
            </soap:Code>
            <soap:Reason>
               <soap:Text xml:lang="en">Header 
http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient 
is required but not present in the message.</soap:Text>
            </soap:Reason>
            
<soap:Node>http://134.186.4.85/fsetproxy/fsetservice.asmx</soap:Node>
         </soap:Fault>
      </soap:Body>
   </soap:Envelope>

> Addressing Issue :Header 
> http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate 
> recipient is required but not present in the message.
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-2657
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2657
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: client-api, kernel, transports, wsdl
>    Affects Versions: 1.2
>         Environment: Windows XP Devlopment : Eclips 3.2.1 Cleint Side Axis2 
> 1.2 Generation
> Server:: Remote Server written in WSE 3.0 Microsoft Technology
>            Reporter: Shweta Desai
>            Priority: Blocker
>             Fix For: 1.2
>
>
> Hi,
> I am trying to connect to the server which has been written in WES 3.0, SOAP 
> 1.2/1.1 bindings.
> Generated Stubs are in xmlBean for Soap 1.2/1.1. This is synchronous 
> communication.
> Error : 
> May 11, 2007 12:43:28 PM org.apache.commons.httpclient.HttpMethodBase 
> readResponse
> INFO: Discarding unexpected response: HTTP/1.1 100 Continue
> org.apache.axis2.AxisFault: Header 
> http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate 
> recipient is required but not present in the message.
>       at 
> org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:434)
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:373)
>       at 
> org.apache.axis2.description.OutInAxisOperationClient.execute(OutInAxisOperation.java:294)
>       at 
> gov.ca.edd.FsetServiceFsetServiceSoapStub.SendTransmission(FsetServiceFsetServiceSoapStub.java:843)
>       at com.adp.ca.efiling.CATestWebServices.main(CATestWebServices.java:339)
> Code :
> I have already set the below property.
> But still getting the error.
> ConfigurationContext c = 
> ConfigurationContextFactory.createEmptyConfigurationContext();
> c.setProperty("WSAddressingVersion", 
> "http://schemas.xmlsoap.org/ws/2004/08/addressing";);
> ClientSoapStub edd = new ClientSoapStub 
> (c,"https://fsettestprod.edd.ca.gov/fsetproxy/fsetservice.asmx";);
> ServiceClient serviceclient=edd._getServiceClient();                          
> Options o =serviceclient.getOptions();
> o.setProperty(org.apache.axis2.addressing.AddressingConstants.WS_ADDRESSING_VERSION,org.apache.axis2.addressing.AddressingConstants.Submission.WSA_NAMESPACE);
> TransportOutDescription tod = new 
> TransportOutDescription(org.apache.axis2.Constants.TRANSPORT_HTTP);
> CommonsHTTPTransportSender httpSender = new CommonsHTTPTransportSender();
> tod.setSender(httpSender);
> o.setTransportOut(tod);
> Your input is appreciated. I am stuck with this error for one week now.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to