axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shweta Desai (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-2657) Addressing Issue :Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
Date Tue, 15 May 2007 17:49:16 GMT

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

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

Pls find request object attached here.

POST /fsetproxy/fsetservice.asmx HTTP/1.1

Content-Type: application/soap+xml; charset=UTF-8; action="http://edd.ca.gov/SendTransmission"

User-Agent: Axis2

Host: 134.186.4.85:8095

Content-Length: 1348



<?xml version='1.0' encoding='UTF-8'?>
   <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
      <soapenv:Header>
         <FsetServiceHeader xmlns="http://edd.ca.gov/">
            <HeaderData>
               <TransmissionId xmlns="http://www.irs.gov/efile">12345678</TransmissionId>
               <Timestamp xmlns="http://www.irs.gov/efile">2007-05-15T10:47:56.733-07:00</Timestamp>
               <Transmitter xmlns="http://www.irs.gov/efile">
                  <ETIN>23232323</ETIN>
               </Transmitter>
               <ProcessType xmlns="http://www.irs.gov/efile">T</ProcessType>
               <TransmissionManifest xmlns="http://www.irs.gov/efile" originHeaderCount="100000"
/>
            </HeaderData>
         </FsetServiceHeader>
      </soapenv:Header>
      <soapenv:Body>
         <SendTransmission xmlns="http://edd.ca.gov/">
            <SendTransmissionRequest xmlns="http://www.irs.gov/a2a/mef/MeFTransmitterServiceWse.xsd">
               <TransmissionDataList>
                  <Count>1</Count>
                  <TransmissionData>
                     <TransmissionId>12345678</TransmissionId>
                     <ElectronicPostmark>2007-05-15T10:47:57.280-07:00</ElectronicPostmark>
                  </TransmissionData>
               </TransmissionDataList>
            </SendTransmissionRequest>
            <fileBytes>MjAwNzA0MjNfMTAwMDAwMSwyMDA3LTA0LTI3VDEwOjQyOjM2Ljg5MS0wNzAwCgoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=</fileBytes>
         </SendTransmission>
      </soapenv:Body>
   </soapenv: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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message