[ 
https://issues.apache.org/jira/browse/AXIS2C-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12567334#action_12567334
 ] 

Senaka Fernando commented on AXIS2C-964:
----------------------------------------

Hi Dimuthu,

Both skeleton and stub, built without any problem. Once I ran the demo, I got,

Returned Long: 1
Returned Long: 3

These are the payloads exchanged

Request 1:

POST /axis2/services/BaseDataTypesDocLitWService HTTP/1.1
User-Agent: Axis2/C
SOAPAction: "http://tempuri.org/IBaseDataTypesDocLitW/RetLong";
Content-Length: 502
Content-Type: text/xml;charset=UTF-8
Host: 127.0.0.1:8080

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      
<wsa:To>http://localhost:8080/axis2/services/BaseDataTypesDocLitWService</wsa:To>
      <wsa:Action>http://tempuri.org/IBaseDataTypesDocLitW/RetLong</wsa:Action>
      <wsa:MessageID>fa0e7a7b-a51f-448e-ab2c-7e27db10a618</wsa:MessageID>
   </soapenv:Header>
   <soapenv:Body>
      <n:RetLong xmlns:n="http://tempuri.org/";>
         <n:inLong>0</n:inLong>
      </n:RetLong>
   </soapenv:Body></soapenv:Envelope>

Response 1:

HTTP/1.1 200 OK
Content-Type: text/xml;charset=UTF-8
Content-Length: 696

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <wsa:Action>http://tempuri.org/IBaseDataTypesDocLitW/RetLong</wsa:Action>
      <wsa:From>
         
<wsa:Address>http://localhost:8080/axis2/services/BaseDataTypesDocLitWService</wsa:Address>
      </wsa:From>
      <wsa:MessageID>c1f7de5d-07b9-418f-aeec-158f8b889da2</wsa:MessageID>
      <wsa:RelatesTo 
wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply";>fa0e7a7b-a51f-448e-ab2c-7e27db10a618</wsa:RelatesTo>
   </soapenv:Header>
   <soapenv:Body>
      <n:RetLongResponse xmlns:n="http://tempuri.org/";>
         <n:RetLongResult>1</n:RetLongResult>
      </n:RetLongResponse>
   </soapenv:Body></soapenv:Envelope>


Request 2:

POST /axis2/services/BaseDataTypesDocLitWService HTTP/1.1
User-Agent: Axis2/C
SOAPAction: "http://tempuri.org/IBaseDataTypesDocLitW/RetULong";
Content-Length: 507
Content-Type: text/xml;charset=UTF-8
Host: 127.0.0.1:8080

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      
<wsa:To>http://localhost:8080/axis2/services/BaseDataTypesDocLitWService</wsa:To>
      <wsa:Action>http://tempuri.org/IBaseDataTypesDocLitW/RetULong</wsa:Action>
      <wsa:MessageID>1fc1a399-21c1-4b69-91ad-fc7d2c1cfbb7</wsa:MessageID>
   </soapenv:Header>
   <soapenv:Body>
      <n:RetULong xmlns:n="http://tempuri.org/";>
         <n:inULong>2</n:inULong>
      </n:RetULong>
   </soapenv:Body></soapenv:Envelope>

Response2:

HTTP/1.1 200 OK
Content-Type: text/xml;charset=UTF-8
Content-Length: 701

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header xmlns:wsa="http://www.w3.org/2005/08/addressing";>
      <wsa:Action>http://tempuri.org/IBaseDataTypesDocLitW/RetULong</wsa:Action>
      <wsa:From>
         
<wsa:Address>http://localhost:8080/axis2/services/BaseDataTypesDocLitWService</wsa:Address>
      </wsa:From>
      <wsa:MessageID>b0cee22e-73f4-470a-8eb0-dc7ad0d03b02</wsa:MessageID>
      <wsa:RelatesTo 
wsa:RelationshipType="http://www.w3.org/2005/08/addressing/reply";>1fc1a399-21c1-4b69-91ad-fc7d2c1cfbb7</wsa:RelatesTo>
   </soapenv:Header>
   <soapenv:Body>
      <n:RetULongResponse xmlns:n="http://tempuri.org/";>
         <n:RetULongResult>3</n:RetULongResult>
      </n:RetULongResponse>
   </soapenv:Body></soapenv:Envelope>


Hope this is correct and that we can close this JIRA.

Regards,
Senaka


> Support for uint64_t, int64_t required at codegen level
> -------------------------------------------------------
>
>                 Key: AXIS2C-964
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-964
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: code generation, wsdl2c tool
>            Reporter: Senaka Fernando
>             Fix For: 1.3.0
>
>         Attachments: case12.zip, case12.zip, win_screen_shot_1.jpg
>
>
> Support for uint64_t, int64_t required at codegen level. I have added support 
> at util level and fixed AXIS2C-919. Hope we can add this to the codegen tool 
> too.

-- 
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