Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
Hi Axis2 Users, If anyone has included MULTIREF in the responses from the server,kindly let me know the procedures to do the same...I have created a SimpleInOut MessageReceiver and have created the service from scratch(not used WSDL2Java to create stubs).. Any suggestions/codes would be of great help. Thanks,Raghav. --- On Wed, 11/11/09, Rahul Rulz wrote: From: Rahul Rulz Subject: Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses To: axis-user@ws.apache.org Date: Wednesday, November 11, 2009, 10:53 AM Hi Deepal, Thanks for the link. Unfortunately I was not able to get it working.. :( I just found some Axis2 api's such inside axis2.apache.databinding.utils - Multirefhelper and was able to get the href,attribute values from the incoming requests . Now I want to send the response processing the above values and it looks like the following http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns4="Myservice:Response">http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns5:Profile" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns5="http://Myservice.services.myservice.com";>http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns6:User" xmlns:ns6="http://dto.domain.raa.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>http://Myservice.services.myservice.com"/>rag...@test.comhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns8:ServiceNumber" xmlns:ns8="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>00http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns9:ServiceNumber" xmlns:ns9="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>01http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns10:ServiceNumberStatusEnum" xmlns:ns10="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_ACTIVEhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns11:ServiceLinkStatusEnum" xmlns:ns11="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_LINKEDhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns12:ServiceLinkStatusEnum" xmlns:ns12="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_INITIALhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns13:ServiceTypeEnum" xmlns:ns13="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_MSISDN I just wanted to know whether are there any APIs(such as addChild) to make it easier to add multirefs to the responses. Pl. share your thoughts on getting the above response..I am using a simple inout message receiver. Thanks for looking into it. Thanks,Raghav. --- On Mon, 11/9/09, Deepal jayasinghe wrote: From: Deepal jayasinghe Subject: Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses To: axis-user@ws.apache.org Date: Monday, November 9, 2009, 9:16 AM Try this, https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java > Hi Deepal, > > Thanks for the reply. I just had a look on the API's reg. > MultiRefHelper. I have a InOutMessageReceiver already for my > service.It would be great if you can share the examples(below) for > starters like us to explore more.. > > 1. Extract Multiref values in server from incoming requests > 2. Create Multiref values from server as response. > > > Thanks, > Raghav. > > > > > > > > > --- On *Mon, 11/9/09, Deepal Jayasinghe //* wrote: > > > From: Deepal Jayasinghe > Subject: Re: [Axis2] Reg. parsing of MULTIREF and including > MULTIREF in server responses > To: axis-user@ws.apache.org > Date: Monday, November 9, 2009, 6:07 AM > > It is yes and no answer. In the server side when we use > RPCMessageReceiver, it supports multiref. But in the client side I am > not sure whether we handle it correctly, if you can try with > RPCServiceClient and see whether it works. (I guess it might work, it > uses the same code as the RPCMR) > > Thanks, > Deepal > > Rahul Rulz wrote: > > Hi Users, > &g
Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
Hi Deepal, Thanks for the link. Unfortunately I was not able to get it working.. :( I just found some Axis2 api's such inside axis2.apache.databinding.utils - Multirefhelper and was able to get the href,attribute values from the incoming requests . Now I want to send the response processing the above values and it looks like the following http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns4="Myservice:Response">http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns5:Profile" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:ns5="http://Myservice.services.myservice.com";>http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns6:User" xmlns:ns6="http://dto.domain.raa.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>http://Myservice.services.myservice.com"/>rag...@test.comhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns8:ServiceNumber" xmlns:ns8="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>00http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns9:ServiceNumber" xmlns:ns9="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>01http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns10:ServiceNumberStatusEnum" xmlns:ns10="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_ACTIVEhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns11:ServiceLinkStatusEnum" xmlns:ns11="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_LINKEDhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns12:ServiceLinkStatusEnum" xmlns:ns12="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_INITIALhttp://schemas.xmlsoap.org/soap/encoding/"; xsi:type="ns13:ServiceTypeEnum" xmlns:ns13="http://Myservice.services.myservice.com"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";>TEST_MSISDN I just wanted to know whether are there any APIs(such as addChild) to make it easier to add multirefs to the responses. Pl. share your thoughts on getting the above response..I am using a simple inout message receiver. Thanks for looking into it. Thanks,Raghav. --- On Mon, 11/9/09, Deepal jayasinghe wrote: From: Deepal jayasinghe Subject: Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses To: axis-user@ws.apache.org Date: Monday, November 9, 2009, 9:16 AM Try this, https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java > Hi Deepal, > > Thanks for the reply. I just had a look on the API's reg. > MultiRefHelper. I have a InOutMessageReceiver already for my > service.It would be great if you can share the examples(below) for > starters like us to explore more.. > > 1. Extract Multiref values in server from incoming requests > 2. Create Multiref values from server as response. > > > Thanks, > Raghav. > > > > > > > > > --- On *Mon, 11/9/09, Deepal Jayasinghe //* wrote: > > > From: Deepal Jayasinghe > Subject: Re: [Axis2] Reg. parsing of MULTIREF and including > MULTIREF in server responses > To: axis-user@ws.apache.org > Date: Monday, November 9, 2009, 6:07 AM > > It is yes and no answer. In the server side when we use > RPCMessageReceiver, it supports multiref. But in the client side I am > not sure whether we handle it correctly, if you can try with > RPCServiceClient and see whether it works. (I guess it might work, it > uses the same code as the RPCMR) > > Thanks, > Deepal > > Rahul Rulz wrote: > > Hi Users, > > > > I just wanted to know whether it is possible to parse a SOAP > envelope > > in axis2 which contains MULTIREF . Basically I want to parse the > > envelope and send responses from the server which in turn contains > > MULTIREF. > > > > Any help such as a link of how to do or a tutorial section will do. > > > > Thanks a lot for the help. > > > > Regards, > > Raghav. > > > > > > > > > > > > > > -- > Thank you! > > > http://blogs.deepal.org > http://deepal.org > > -- Thank you! http://blogs.deepal.org http://deepal.org
Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
Try this, https://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/rpc/RPCCallTest.java > Hi Deepal, > > Thanks for the reply. I just had a look on the API's reg. > MultiRefHelper. I have a InOutMessageReceiver already for my > service.It would be great if you can share the examples(below) for > starters like us to explore more.. > > 1. Extract Multiref values in server from incoming requests > 2. Create Multiref values from server as response. > > > Thanks, > Raghav. > > > > > > > > > --- On *Mon, 11/9/09, Deepal Jayasinghe //* wrote: > > > From: Deepal Jayasinghe > Subject: Re: [Axis2] Reg. parsing of MULTIREF and including > MULTIREF in server responses > To: axis-user@ws.apache.org > Date: Monday, November 9, 2009, 6:07 AM > > It is yes and no answer. In the server side when we use > RPCMessageReceiver, it supports multiref. But in the client side I am > not sure whether we handle it correctly, if you can try with > RPCServiceClient and see whether it works. (I guess it might work, it > uses the same code as the RPCMR) > > Thanks, > Deepal > > Rahul Rulz wrote: > > Hi Users, > > > > I just wanted to know whether it is possible to parse a SOAP > envelope > > in axis2 which contains MULTIREF . Basically I want to parse the > > envelope and send responses from the server which in turn contains > > MULTIREF. > > > > Any help such as a link of how to do or a tutorial section will do. > > > > Thanks a lot for the help. > > > > Regards, > > Raghav. > > > > > > > > > > > > > > -- > Thank you! > > > http://blogs.deepal.org > http://deepal.org > > -- Thank you! http://blogs.deepal.org http://deepal.org
Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
Hi Deepal, Thanks for the reply. I just had a look on the API's reg. MultiRefHelper. I have a InOutMessageReceiver already for my service.It would be great if you can share the examples(below) for starters like us to explore more.. 1. Extract Multiref values in server from incoming requests2. Create Multiref values from server as response. Thanks,Raghav. --- On Mon, 11/9/09, Deepal Jayasinghe wrote: From: Deepal Jayasinghe Subject: Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses To: axis-user@ws.apache.org Date: Monday, November 9, 2009, 6:07 AM It is yes and no answer. In the server side when we use RPCMessageReceiver, it supports multiref. But in the client side I am not sure whether we handle it correctly, if you can try with RPCServiceClient and see whether it works. (I guess it might work, it uses the same code as the RPCMR) Thanks, Deepal Rahul Rulz wrote: > Hi Users, > > I just wanted to know whether it is possible to parse a SOAP envelope > in axis2 which contains MULTIREF . Basically I want to parse the > envelope and send responses from the server which in turn contains > MULTIREF. > > Any help such as a link of how to do or a tutorial section will do. > > Thanks a lot for the help. > > Regards, > Raghav. > > > > > > -- Thank you! http://blogs.deepal.org http://deepal.org
Re: [Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
It is yes and no answer. In the server side when we use RPCMessageReceiver, it supports multiref. But in the client side I am not sure whether we handle it correctly, if you can try with RPCServiceClient and see whether it works. (I guess it might work, it uses the same code as the RPCMR) Thanks, Deepal Rahul Rulz wrote: > Hi Users, > > I just wanted to know whether it is possible to parse a SOAP envelope > in axis2 which contains MULTIREF . Basically I want to parse the > envelope and send responses from the server which in turn contains > MULTIREF. > > Any help such as a link of how to do or a tutorial section will do. > > Thanks a lot for the help. > > Regards, > Raghav. > > > > > > -- Thank you! http://blogs.deepal.org http://deepal.org
[Axis2] Reg. parsing of MULTIREF and including MULTIREF in server responses
Hi Users, I just wanted to know whether it is possible to parse a SOAP envelope in axis2 which contains MULTIREF . Basically I want to parse the envelope and send responses from the server which in turn contains MULTIREF. Any help such as a link of how to do or a tutorial section will do. Thanks a lot for the help. Regards,Raghav.