axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tysnes Are Thobias <are.tys...@edb.com>
Subject FW: Questions about Wrapped/UnWrapped Document/Literal
Date Tue, 07 Sep 2004 06:29:26 GMT

Good Morning Developers!

Would be nice if anyone of you could add this to JIRA.
I don't have permissions required to add new buggs.

Cheers,
Are T. Tysnes

-----Original Message-----
From: Anne Thomas Manes [mailto:anne@manes.net] 
Sent: 6. september 2004 16:08
To: axis-user@ws.apache.org
Subject: RE: Questions about Wrapped/UnWrapped Document/Literal


The annotation is valid, but it looks as if Axis won't generate
style="wrapped" if you include an annotation in the complex type definition.
I view this as a bug. Please file a bug report.

Anne

-----Original Message-----
From: Tysnes Are Thobias [mailto:are.tysnes@edb.com] 
Sent: Monday, September 06, 2004 9:02 AM
To: 'axis-user@ws.apache.org'
Subject: RE: Questions about Wrapped/UnWrapped Document/Literal


Hello again!

It looks like Axis has some trouble with annotations.

If you re-run Test2 with the attached files you get style="document" Is my
annotation wrong !?

Cheers,
Are T. Tysnes

-----Original Message-----
From: Anne Thomas Manes [mailto:anne@manes.net] 
Sent: 5. september 2004 03:16
To: axis-user@ws.apache.org
Subject: RE: Questions about Wrapped/UnWrapped Document/Literal


In Test1.wsdl, the wrapper element name (SomeLevelW) is not the same as the
operation name (SomeLevel), therefore Axis generates the service as
style="document". If you change the operation name to SomeLevelW, Axis will
generate it as style="wrapped".

In Test2.wsdl, the wrapper element (SomeLevel) is the same as the operation
name (SomeLevel), therefore Axis generates the service as style="wrapped".

- Anne

-----Original Message-----
From: Tysnes Are Thobias [mailto:are.tysnes@edb.com] 
Sent: Saturday, September 04, 2004 1:21 PM
To: 'axis-user@ws.apache.org'
Subject: Questions about Wrapped/UnWrapped Document/Literal


Hello!

I have some questions about Wrapped/UnWrapped Document/Literal style in Axis
1.2beta2

When I run:

java org.apache.axis.wsdl.WSDL2Java -s "Test1.wsdl" --typeMappingVersion 1.2

deploy.wsdd says style="document" and the Interface looks like this:

public interface SomeLevelInterface extends java.rmi.Remote {
    public com.test.www.test._SomeLevelResponseW
someLevel(com.test.www.test._SomeLevelW parameters) throws
java.rmi.RemoteException; }

When I run:

java org.apache.axis.wsdl.WSDL2Java -s "Test2.wsdl" --typeMappingVersion 1.2

deploy.wsdd says style="wrapped" and the Interface looks like this:

public interface SomeLevelInterface extends java.rmi.Remote {
    public java.lang.String someLevel(java.lang.String someLevelFoo,
java.lang.String someLevelBar) throws java.rmi.RemoteException; }

Question 1:

The difference in these two WSDL's are W prefixed to the Type names in
Test1.xsd. And I don't understand why Axis choose to make one Wrapped and
the other UnWrapped.

Question 2:

In my view.. style="document" look Wrapped.. the parameters are wrapped in a
Response and Request Wrapper-Class. And style="wrapped" looks UnWrapped.
What am I missing ?

Hope someone (Anne maybe ? :o) have some time to enlighten me

Cheers & Happy Weekend!
Are T. Tysnes



Mime
View raw message