If you throw together a quick maven build with your service/person/student classes, we could likely take a quick look a bit easier. Mostly just need the service to startup as we can likely look at the wsdl to see if it will work or not.
Dan On Friday, June 08, 2012 12:28:41 PM Diana ALLAM wrote: > Hi, > > I am using Eclipse J2EE which generate automatically the following wsdl > and xsd files (by using the annotation @XmlSeeAlso): > > Here is my XSD file: > <?xml version="1.0" encoding="utf-8"?><xs:schema > xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://server/" > elementFormDefault="unqualified" targetNamespace="http://server/" > version="1.0"> <xs:element name="print" type="tns:print"/> > <xs:element name="printResponse" type="tns:printResponse"/> > <xs:complexType name="print"> > <xs:sequence> > <xs:element minOccurs="0" name="arg0" type="tns:personne"/> > </xs:sequence> > </xs:complexType> > <xs:complexType name="personne"> > <xs:sequence> > <xs:element minOccurs="0" name="name" type="xs:string"/> > </xs:sequence> > </xs:complexType> > <xs:complexType name="printResponse"> > <xs:sequence> > <xs:element minOccurs="0" name="return" type="xs:string"/> > </xs:sequence> > </xs:complexType> > </xs:schema> > > > and here is my WSDL file > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions name="ServiceService" targetNamespace="http://server/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://server/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> <wsdl:types> > <schema xmlns="http://www.w3.org/2001/XMLSchema"> > <import namespace="http://server/" schemaLocation="service_schema1.xsd"/> > </schema> > </wsdl:types> > <wsdl:message name="print"> > <wsdl:part name="parameters" element="tns:print"> > </wsdl:part> > </wsdl:message> > <wsdl:message name="printResponse"> > <wsdl:part name="parameters" element="tns:printResponse"> > </wsdl:part> > </wsdl:message> > <wsdl:portType name="printEndPoint"> > <wsdl:operation name="print"> > <wsdl:input name="print" message="tns:print"> > </wsdl:input> > <wsdl:output name="printResponse" message="tns:printResponse"> > </wsdl:output> > </wsdl:operation> > </wsdl:portType> > <wsdl:binding name="ServiceServiceSoapBinding" type="tns:printEndPoint"> > <soap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation > name="print"> > <soap:operation soapAction="" style="document"/> > <wsdl:input name="print"> > <soap:body use="literal"/> > </wsdl:input> > <wsdl:output name="printResponse"> > <soap:body use="literal"/> > </wsdl:output> > </wsdl:operation> > </wsdl:binding> > <wsdl:service name="ServiceService"> > <wsdl:port name="ServicePort" binding="tns:ServiceServiceSoapBinding"> > <soap:address location="http://localhost:8081/zw/services/ServicePort"/> > </wsdl:port> > </wsdl:service> > </wsdl:definitions> > -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
