satheesh created AXIS2-5407:
-------------------------------

             Summary: Axis2 doesn't receive soap request correctly
                 Key: AXIS2-5407
                 URL: https://issues.apache.org/jira/browse/AXIS2-5407
             Project: Axis2
          Issue Type: Bug
         Environment: Axis2 doesn't receive and send soap message request 
responses correctly
            Reporter: satheesh
            Priority: Blocker



Using Dot net application I'm making soap request call to Axis2 webservice. But 
webservice receives soap request as empty XML why?

see dot net soap request given below

8/30/2012 12:47:20 AM: 6632|226943920|141263|IODefInitADO|Queries|Soap message 
call: http://whmsuat2.generationone.com/Genone/services/ScheduleService?wsdl: 
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:gen="http://genone";>
        <soap:Header/>
        <soap:Body>
                <gen:SendScheduleMessage>
                        <gen:szMessage>
                                <Message 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="ScheduleMessage.xsd">
                                        <MessageID>137</MessageID>
                                        <EventId>NONE</EventId>
                                        <DateTime>8/30/2012 12:47:20 
AM</DateTime>
                                        <Purpose>Add</Purpose>
                                        <PatientId>1002</PatientId>
                                        <GuMedId>GU2030</GuMedId>
                                        <Status>Active</Status>
                                        <StartDate>01/30/2013</StartDate>
                                        <FreqType>2</FreqType>
                                        
<FreqRecurrence>%FreqRecurrence</FreqRecurrence>
                                        <FreqSchDay>NONE</FreqSchDay>
                                        
<FreqWeekInterval>%FreqWeekInterval</FreqWeekInterval>
                                        <FreqMonth>%FreqMonth</FreqMonth>
                                        <EndDate>NONE</EndDate>
                                        <NoEndDate>NONE</NoEndDate>
                                        <EndOccurrence>NONE</EndOccurrence>
                                        <SkipDate>NONE</SkipDate>
                                        <SkipOccurrence>NONE</SkipOccurrence>
                                        <StartTime>00:47</StartTime>
                                        <EndTime>%EndTime</EndTime>
                                        <RandomTime>No</RandomTime></Message>
                        </gen:szMessage>
                        <gen:szUserName>Schedul1</gen:szUserName>
                        <gen:szPassword>Gaston</gen:szPassword>
                </gen:SendScheduleMessage>
        </soap:Body>
</soap:Envelope>

See my service class

        public String SendScheduleMessage(String szMessage, final String 
szUserName,
             final String szPassword) throws UnsupportedEncodingException {
                log4j.info(" SendScheduleMessage Started : ");
                log4j.info(" SendScheduleMessage  : "+szMessage);
                String responsexml = Constants.SZ_EX_SPECIAL_EMPTY;

}

Also I'm sending response XML to dotnet application  but it's says SOAP body 
not found why?

response xml sent to dot net application :

<?xml version="1.0" encoding="UTF-8"?><Response 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="ScheduleResponse.xsd"><MessageID>1346256460951</MessageID><ResponseToMessageID>1320228893000</ResponseToMessageID>

see my wsdl

http://whmsuat2.generationone.com/Genone/services/ScheduleService?wsdl

Please let me know 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to