axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sameera Jayasoma <sameera.madus...@gmail.com>
Subject Re: how to generate the XML in-out stubs
Date Tue, 20 Jan 2009 17:25:21 GMT
On Tue, Jan 20, 2009 at 10:38 PM, Wishing Carebear <
wishing.carebear@gmail.com> wrote:

> Thanks Amila/Sameera for your reply.
> Yes, I have a sample request in XML String. Want to pass that to the stub
> methods directly. Also from the response want to get the XML response back
> as String with no java objects involved.
>
> Tried -d none option and the stub has the operation as below :
>     public  org.apache.axiom.om.OMElement
> SearchLink(org.apache.axiom.om.OMElement searchLink)
>                                                             throws
> java.rmi.RemoteException
>
> Wondering what is the parameter org.apache.axiom.om.OMElement searchLink refers
> to here. Is it the whole request XML only for the payload or the whole SOAP
> envelop.
>

AFAIK, this parameter refers to the XML payload.


>
> Thanks for your time and help,
> Regards
> cbear
>
> On Mon, Jan 19, 2009 at 8:37 PM, Amila Suriarachchi <
> amilasuriarachchi@gmail.com> wrote:
>
>> use  -d none   option
>>
>> thanks,
>> Amila.
>>
>>
>> On Tue, Jan 20, 2009 at 12:15 AM, Wishing Carebear <
>> wishing.carebear@gmail.com> wrote:
>>
>>> Hello:In the userguide :
>>> http://ws.apache.org/axis2/1_4_1/userguide-creatingclients.html#createclients
>>>
>>> read the following line:
>>> Axis2 gives you several options when it comes to mapping WSDL to objects
>>> when generating clients. Three of these options are Axis2 DataBinding
>>> Framework, XMLBeans, and JiBX databinding. All of these methods involve
>>> using databinding to create Java objects out of the XML structures used by
>>> the service, and each has its pros and cons. You can also generate XML
>>> in-out stubs that are not based on databinding.
>>>
>>>
>>> Question: Would like to know how to generate the XML in-out stubs.
>>>
>>> Thanks,
>>> cbear
>>>
>>
>>
>>
>> --
>> Amila Suriarachchi
>> WSO2 Inc.
>> blog: http://amilachinthaka.blogspot.com/
>>
>
>


-- 
Sameera Jayasoma
Software Engineer
WSO2 Inc.
Oxygenating the Web Service Platform.
http://wso2.org/

blog: http://tech.jayasoma.org

Mime
View raw message