Reason is diffent default styles in Axis2 and Axis1.x

Axis1.x have rpc-encoding as default style .. so it have something
like <part type="MyType"> on the otherhand Axis2 does doc-literal
where you will have

<part element = "addElement"> and
in your schema

<elemement name="addElement" type="xsd:int"/>

1) This is not a bug
2) doc-literal style is preferred over rpc-encoding



On 10/6/06, Ya Bing, Chen <[EMAIL PROTECTED]> wrote:
Hi all,

I started to use axis2 recently. But find out it is very strange with
the generated wsdl.
When I deploy my ws (*.aar), then try to take a look at the generated
wsdl from the admin console.
Axis2 seems always generated weird and wrong wsdl for my service.
For example, I deploy an calculator ws. The input and output method's
arguments are int.
But when I look at the wsdl, the generated ones become like the
following:

<wsdl:message name="addMessage"/>
<wsdl:message name="addResponse"/>
<wsdl:message name="substractMessage"/>
<wsdl:message name="substractResponse"/>

There supposed to be some parts elements such as: <wsdl:part name="in0"
type="xsd:int"/> in the generated wsdl.

Then I tried to drop my own wsdl inside the aar. Unfortunately, the
axis2 seems cannot recognize it.

I was using Axis1.x before, never encounter such errors. Don't know if
it is bugs or some configuration errors.

Anyone encounter the same issues as me? Pls help!

Regards,
Yabing


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
============================
Srinath Perera:
  http://www.cs.indiana.edu/~hperera/
  http://www.bloglines.com/blog/hemapani

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to