You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by fire fox <fy...@gmail.com> on 2011/06/09 12:12:18 UTC
[Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Hi all,
-> I've created Java files using -ss -sd options using Axis2.
-> I've used the skeleton class to create the WSDL from it.
-> Apparently I've achieved what I've wanted, the binding style in the
wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
But, I'm suspicious about the way I did. I think I'm missing
something. Is this process fine? Will it work?
Any idea?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
- I've changed binding style in initial WSDL from rpc/encoded to
document/literal by creating server side code from wsdl and then after
generated wsdl from the skeleton class.
- Used the resultant WSDL to generate stubs by Axis2 1.5.5
- I've tried to consume the web service using Axis2 1.5.5 but I was
getting the following exception. [Following is when I called
get_module_fields]
Exception in thread "main" org.apache.axis2.AxisFault: Operation ''
is not defined in the WSDL for this service
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:446)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.sugarcrm.www.sugarcrm.SugarsoapSkeletonStub.login(SugarsoapSkeletonStub.java:3045)
at com.sugarcrm.SugarCRMADB_Test.login(SugarCRMADB_Test.java:53)
at com.sugarcrm.SugarCRMADB_Test.main(SugarCRMADB_Test.java:38)
- I've attached both wsdl files.
Please help.
On Sat, Jun 11, 2011 at 1:37 PM, fire fox <fy...@gmail.com> wrote:
> Could someone please give me some leads?
>
> On Fri, Jun 10, 2011 at 10:36 AM, fire fox <fy...@gmail.com> wrote:
>> Please help.
>>
>> On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
>>> Hi all,
>>>
>>> -> I've created Java files using -ss -sd options using Axis2.
>>>
>>> -> I've used the skeleton class to create the WSDL from it.
>>>
>>> -> Apparently I've achieved what I've wanted, the binding style in the
>>> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>>>
>>> �But, I'm suspicious about the way I did. I think I'm missing
>>> something. Is this process fine? Will it work?
>>>
>>> Any idea?
>>>
>>> Thanks.
>>>
>>
>
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
- I've changed binding style in initial WSDL from rpc/encoded to
document/literal by creating server side code from wsdl and then after
generated wsdl from the skeleton class.
- Used the resultant WSDL to generate stubs by Axis2 1.5.5
- I've tried to consume the web service using Axis2 1.5.5 but I was
getting the following exception. [Following is when I called
get_module_fields]
Exception in thread "main" org.apache.axis2.AxisFault: Operation ''
is not defined in the WSDL for this service
at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:446)
at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:371)
at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:417)
at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165)
at com.sugarcrm.www.sugarcrm.SugarsoapSkeletonStub.login(SugarsoapSkeletonStub.java:3045)
at com.sugarcrm.SugarCRMADB_Test.login(SugarCRMADB_Test.java:53)
at com.sugarcrm.SugarCRMADB_Test.main(SugarCRMADB_Test.java:38)
- I've attached both wsdl files.
Please help.
On Sat, Jun 11, 2011 at 1:37 PM, fire fox <fy...@gmail.com> wrote:
> Could someone please give me some leads?
>
> On Fri, Jun 10, 2011 at 10:36 AM, fire fox <fy...@gmail.com> wrote:
>> Please help.
>>
>> On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
>>> Hi all,
>>>
>>> -> I've created Java files using -ss -sd options using Axis2.
>>>
>>> -> I've used the skeleton class to create the WSDL from it.
>>>
>>> -> Apparently I've achieved what I've wanted, the binding style in the
>>> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>>>
>>> But, I'm suspicious about the way I did. I think I'm missing
>>> something. Is this process fine? Will it work?
>>>
>>> Any idea?
>>>
>>> Thanks.
>>>
>>
>
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
Could someone please give me some leads?
On Fri, Jun 10, 2011 at 10:36 AM, fire fox <fy...@gmail.com> wrote:
> Please help.
>
> On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
>> Hi all,
>>
>> -> I've created Java files using -ss -sd options using Axis2.
>>
>> -> I've used the skeleton class to create the WSDL from it.
>>
>> -> Apparently I've achieved what I've wanted, the binding style in the
>> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>>
>> But, I'm suspicious about the way I did. I think I'm missing
>> something. Is this process fine? Will it work?
>>
>> Any idea?
>>
>> Thanks.
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
Could someone please give me some leads?
On Fri, Jun 10, 2011 at 10:36 AM, fire fox <fy...@gmail.com> wrote:
> Please help.
>
> On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
>> Hi all,
>>
>> -> I've created Java files using -ss -sd options using Axis2.
>>
>> -> I've used the skeleton class to create the WSDL from it.
>>
>> -> Apparently I've achieved what I've wanted, the binding style in the
>> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>>
>> But, I'm suspicious about the way I did. I think I'm missing
>> something. Is this process fine? Will it work?
>>
>> Any idea?
>>
>> Thanks.
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
Please help.
On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
> Hi all,
>
> -> I've created Java files using -ss -sd options using Axis2.
>
> -> I've used the skeleton class to create the WSDL from it.
>
> -> Apparently I've achieved what I've wanted, the binding style in the
> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>
> But, I'm suspicious about the way I did. I think I'm missing
> something. Is this process fine? Will it work?
>
> Any idea?
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
Re: [Axis2] wsdl to Java to wsdl to change style/use in initial WSDL?
Posted by fire fox <fy...@gmail.com>.
Please help.
On Thu, Jun 9, 2011 at 3:42 PM, fire fox <fy...@gmail.com> wrote:
> Hi all,
>
> -> I've created Java files using -ss -sd options using Axis2.
>
> -> I've used the skeleton class to create the WSDL from it.
>
> -> Apparently I've achieved what I've wanted, the binding style in the
> wsdl changed from rpc/encoded [axis2 does not support] to doc/literal.
>
> But, I'm suspicious about the way I did. I think I'm missing
> something. Is this process fine? Will it work?
>
> Any idea?
>
> Thanks.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org