-----Original Message-----
From: Dino Chiesa [mailto:[EMAIL PROTECTED]
Sent: 14 March 2005 3:27
To: [email protected]
Subject: RE: .NET and Axishmm, some questionsyour steps are:1. java2wsdl (as I have a fully functional web application currently exposed using rpc/encoded)2. wsdl2java3. deploy using deploy.wsdd4. generate c# code from wsdl5. invoke from c# web appcan you explain a bit more about that first step? What do you mean "I have a fully functional web application currently exposed using rpc/encoded"? How is that relevant here? What do you do with the WSDL returned from that step?I was just explaining that I use the Java 2 wsdl approach not the wsdl FIRST approach as the java classes already exist.Looking at your WSDL, I would remove the ArrayOf_tns2_Message and replace it with an maxOccurs="unbounded"eg remove<element name="messages" nillable="true" type="impl:ArrayOf_tns2_Message"/>and replace with<element name="messages" nillable="true" maxOccurs="unbounded" type="tns2:Message"/>and also remove<complexType name="ArrayOf_tns2_Message">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="tns2:Message"/>
</sequence>
</complexType>... but that should not affect interop at all, only the server-side (Java) programming model.Had already tried that to see if it would make any difference but it didn't... (as you said) The wsdl is auto generated.you wrote:> The main difference I can see between your service and mine is that there are type mappings for the getX and getXResponse elements, do you know why this is?I don't understand this. I don't have type mappings for the getX and getXResponse in the deploy.wsdd that is generated for the ComplexTypes web service example. And, if I run WSDL2Java on your inquiry.wsdl, I again do not get type mappings for getX and getXResponse in the deploy.wsdd. I do get type mappings for all the complex types (Code, Message, etc). Maybe you could explain what you mean in more detail? Which one has type mappings, and which does not? and where do you find these type mappings?If you look in the deploy.wsdd that I attached with the last mail you should see a typeMapping for getCustomerResonse (X = Customer). Are you saying you don't get these typeMappings when you run WSDL2Java on my inquiry.wsdl? Any idea why that is?<typeMapping
xmlns:ns="http://inquiry.webservice.gpb.rbc.com"
qname="ns:>getCustomerResponse"
type="java:com.rbc.gpb.webservice.inquiry.GetCustomerResponse"
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle=""
/>
I'll have more time to look at this later. . .Thanks - I am ready to give up and stick to my rpc/encoded service :)
____________________________________________________________
This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
Ce courrier �lectronique est confidentiel et prot�g�. L'exp�diteur ne renonce pas aux droits et obligations qui s'y rapportent. Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il contient par une personne autre que le (les) destinataire(s) d�sign�(s) est interdite. Si vous recevez ce courrier �lectronique par erreur, veuillez m'en aviser imm�diatement, par retour de courrier �lectronique ou par un autre moyen.
============================================================
