Anne, you always say the same thing.
-----Original Message-----
From: Anne Thomas Manes [mailto:[EMAIL PROTECTED]
Sent: Monday, April 18, 2005 11:20 AM
To: [email protected]
Subject: Re: R: Axis fails to generate wrrapped style messages from this
WSDL
Can you provide the WSDL?
On 4/18/05, I.Venuti <[EMAIL PROTECTED]> wrote:
> The basic problem is that I'm expecting that a wrapped/literal WS will
> be accessible in a easier way also from SOAP:Lite (Perl) and SOAPpy
> (Python) tha actually I have got to write my own client with really
> few support of the libraries.
>
> so I'm tring to convert my document/literal WSDL to wrapped/liter: I
> don't know what I should get in detail, but I get two different
> implementations and different deploy.wsdd by commenting out only one
operation!!
>
> This sounds really strange (and I wonder if there is something wrong
> with the commented operation)
>
> Here is what actually is generated: without the comments I get:
>
> deploy.wsdd
> <service name="ProductsExampleWSPort" provider="java:RPC"
style="document"
> use="literal">
>
> /**
> * ProductsExampleWSBindingImpl.java
> *
> * This file was auto-generated from WSDL
> * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java
emitter.
> */
>
> package it.ioprogrammo.ws;
>
> public class ProductsExampleWSBindingImpl implements
> it.ioprogrammo.ws.ProductsExampleWSPortType{
> public it.ioprogrammo.ws.ArrayOfProduct
> productsList(it.ioprogrammo.ws.MyDate lastUpdateDate) throws
> java.rmi.RemoteException {
> return null;
> }
>
> public it.ioprogrammo.ws.OrderWithConfirmation
> productsOrder(it.ioprogrammo.ws.ArrayOfProductInOrder wantedProducts)
> throws java.rmi.RemoteException {
> return null;
> }
>
> public boolean
> productsOrderConfirmation(it.ioprogrammo.ws.MyString
> confirmation) throws java.rmi.RemoteException {
> return false;
> }
>
> }
>
> If I comment out the productsOrderConfirmation operation I obtain:
>
> <service name="ProductsExampleWSPort" provider="java:RPC"
style="wrapped"
> use="literal">
> ...
>
> /**
> * ProductsExampleWSBindingImpl.java
> *
> * This file was auto-generated from WSDL
> * by the Apache Axis 1.2RC3 Feb 28, 2005 (10:15:14 EST) WSDL2Java
emitter.
> */
>
> package it.ioprogrammo.ws;
>
> public class ProductsExampleWSBindingImpl implements
> it.ioprogrammo.ws.ProductsExampleWSPortType{
> public it.ioprogrammo.ws.ArrayOfProduct
> productsList(java.util.Date
> productsList) throws java.rmi.RemoteException {
> return null;
> }
>
> public void productsOrder(it.ioprogrammo.ws.ProductInOrder[] item,
> it.ioprogrammo.ws.holders.ArrayOfProductInOrderHolder order,
> javax.xml.rpc.holders.StringHolder magic) throws
java.rmi.RemoteException {
> order.value = new it.ioprogrammo.ws.ArrayOfProductInOrder();
> magic.value = new java.lang.String();
> }
>
> }
>
> deploy.wsdd
> <service name="ProductsExampleWSPort" provider="java:RPC"
style="wrapped"
> use="literal">
>
> -- Ivan
>
>