WSDL2Java does not generate WebServiceProxy (repost wsdl attachment)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am using WSDL2Java via the Eclipse plugin to generate a WS Client. Usually it generates 5 Java Classes: Foo.java FooBindingStub.java FooProxy.java FooService.java FooServiceLocator.java However my wsdl does not generate the FooProxy.java class and I can't figure what may be wrong. I am sending an attachment with the wsdl file. Any help would be appreciated. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: http://firegpg.tuxfamily.org iD8DBQFHDeL/HfwTJs1Ix7cRAqptAJsHbMISfwV1A3ejDT25p3yXOUBEZACfSY0+ eyiFp7nb5X2JpBwnLJw07Mo= =dUkC -END PGP SIGNATURE- ?xml version=1.0 encoding=UTF-8? wsdl:definitions name=pspAnexosCartoes_out targetNamespace=http://incm.pt/xi/PSP/Anexos; xmlns:p1=http://incm.pt/xi/PSP/Anexos; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;wsdl:typesxsd:schema targetNamespace=http://incm.pt/xi/PSP/Anexos; xmlns=http://incm.pt/xi/PSP/Anexos; xmlns:xsd=http://www.w3.org/2001/XMLSchema;xsd:element name=Cartoes type=Cartoes /xsd:complexType name=ParteComumxsd:sequencexsd:element name=NumProcessoxsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a0774011dcbf31000d9d95b523/xsd:appinfoxsd:documentation xml:lang=PTNúmero de Processo/xsd:documentation/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:minLength value=1 /xsd:maxLength value=10 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=TipoProdutoxsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a1774011dcb77a000d9d95b523/xsd:appinfoxsd:documentation xml:lang=PT 01: Cartão Plástico 02: Certificados 03: Notificações 04: Caderneta 05: Carta PIN/xsd:documentation/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:enumeration value=01 /xsd:enumeration value=02 /xsd:enumeration value=03 /xsd:enumeration value=04 /xsd:enumeration value=05 /xsd:minLength value=1 /xsd:maxLength value=2 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=CategoriaDocumentoxsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a2774011dc9556000d9d95b523/xsd:appinfoxsd:documentation xml:lang=PTIdentifica o layout/xsd:documentation/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:enumeration value=001 /xsd:enumeration value=002 /xsd:enumeration value=011 /xsd:enumeration value=013 /xsd:enumeration value=014 /xsd:enumeration value=016 /xsd:enumeration value=017 /xsd:enumeration value=023 /xsd:enumeration value=024 /xsd:enumeration value=031 /xsd:enumeration value=04A /xsd:enumeration value=05A /xsd:enumeration value=06A /xsd:enumeration value=997 /xsd:enumeration value=998 /xsd:enumeration value=003 /xsd:enumeration value=004 /xsd:enumeration value=005 /xsd:enumeration value=006 /xsd:enumeration value=007 /xsd:enumeration value=008 /xsd:enumeration value=009 /xsd:enumeration value=010 /xsd:enumeration value=012 /xsd:enumeration value=015 /xsd:enumeration value=018 /xsd:enumeration value=019 /xsd:enumeration value=020 /xsd:enumeration value=025 /xsd:enumeration value=026 /xsd:enumeration value=027 /xsd:enumeration value=029 /xsd:enumeration value=030 /xsd:enumeration value=021 /xsd:enumeration value=022 /xsd:enumeration value=028 /xsd:enumeration value=999 /xsd:minLength value=1 /xsd:maxLength value=3 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=NivelServicoxsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a3774011dc8275000d9d95b523/xsd:appinfoxsd:documentation xml:lang=PTU: Urgente / N: Normal/xsd:documentation/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:enumeration value=U /xsd:enumeration value=N /xsd:length value=1 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=Nomexsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a4774011dcce21000d9d95b523/xsd:appinfo/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:minLength value=1 /xsd:maxLength value=60 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=Morada1xsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a5774011dc9356000d9d95b523/xsd:appinfo/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:minLength value=1 /xsd:maxLength value=60 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=Morada2xsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a6774011dc9b72000d9d95b523/xsd:appinfo/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:maxLength value=60 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=Localidadexsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a7774011dc97f1000d9d95b523/xsd:appinfo/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:minLength value=1 /xsd:maxLength value=60 //xsd:restriction/xsd:simpleType/xsd:elementxsd:element name=CodigoPostalxsd:annotationxsd:appinfo source=http://sap.com/xi/TextID;324f43a8774011dcc695000d9d95b523/xsd:appinfo/xsd:annotationxsd:simpleTypexsd:restriction base=xsd:stringxsd:minLength value=1 /xsd:maxLength
WSDL2JAVA does not generate WebServiceProxy
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am using WSDL2JAVA via the Eclipse plugin to generate a WS Client. Usually it generates 5 Java Classes: Foo.java FooBindingStub.java FooProxy.java FooService.java FooServiceLocator.java However my wsdl does not generate the FooProxy.java class and I can't figure what may be wrong. Any help would be appreciated. Here is the wsdl: targetNamespace=http://incm.pt/xi/PSP/Anexos; xmlns:p1=http://incm.pt/xi/PSP/Anexos; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns=http://incm.pt/xi/PSP/Anexos; xmlns:xsd=http://www.w3.org/2001/XMLSchema; source=http://sap.com/xi/TextID; 1fd5ea5057cc11dc86c1000d9d95b523 Número de Processo source=http://sap.com/xi/TextID; 1fd5ea5157cc11dcc877000d9d95b523 1: Cartão Plástico / 2: Certificados /3: Notificações / 4: Caderneta / 5:Carta PIN source=http://sap.com/xi/TextID; 1fd5ea5257cc11dc805c000d9d95b523 Identifica o layout source=http://sap.com/xi/TextID; 1fd5ea5357cc11dcb247000d9d95b523 U: Urgente / N: Normal source=http://sap.com/xi/TextID; 1fd5ea5457cc11dcb0a9000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5557cc11dcc197000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5657cc11dca185000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5757cc11dc82ed9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5857cc11dcbd35000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5957cc11dcbb05000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5a57cc11dcbf2c000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5b57cc11dcba71000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5c57cc11dcb7d5000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39057cc11dc8844000d9d95b523 Número de Processo de Pedido de CC source=http://sap.com/xi/TextID; 5de9a39157cc11dc9b7d000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39257cc11dc8df8000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39357cc11dcbb01000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39457cc11dc8de3000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39557cc11dcc5f1000d9d95b523 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / type=p1:pspAnexosCartoes_out xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; transport=http://schemas.xmlsoap.org/soap/http; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / soapAction=http://sap.com/xi/WebService/soap1.1; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / binding=p1:pspAnexosCartoes_outBinding xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; location= http://xidev.incm.pt:50100/XISOAPAdapter/MessageServlet?channel=:CV:SenderChannel_SOAP_AnexosCartoesamp;version=3.0amp;Sender.Service=xamp;Interface=x%5Ex xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / - -- Dário Abdulrehman PGP Public Key: http://tinyurl.com/2pm9d7 - -- -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: http://firegpg.tuxfamily.org iD8DBQFHDRdWHfwTJs1Ix7cRAgABAJ9VjqC/eUMXNe5egOwB2wsuP/bWTQCdH5BE eoLQb7hk5S3hQxPOGIIy3eA= =MKiU -END PGP SIGNATURE-
Re: WSDL2JAVA does not generate WebServiceProxy
Seems the WSDL we see here maybe distorted. Can you reattach it. Thanks Lahiru On 10/10/07, Dário Abdulrehman [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I am using WSDL2JAVA via the Eclipse plugin to generate a WS Client. Usually it generates 5 Java Classes: Foo.java FooBindingStub.java FooProxy.java FooService.java FooServiceLocator.java However my wsdl does not generate the FooProxy.java class and I can't figure what may be wrong. Any help would be appreciated. Here is the wsdl: targetNamespace= http://incm.pt/xi/PSP/Anexos; xmlns:p1=http://incm.pt/xi/PSP/Anexos; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ xmlns=http://incm.pt/xi/PSP/Anexos; xmlns:xsd=http://www.w3.org/2001/XMLSchema source= http://sap.com/xi/TextID; 1fd5ea5057cc11dc86c1000d9d95b523 Número de Processo source=http://sap.com/xi/TextID; 1fd5ea5157cc11dcc877000d9d95b523 1: Cartão Plástico / 2: Certificados /3: Notificações / 4: Caderneta / 5:Carta PIN source=http://sap.com/xi/TextID; 1fd5ea5257cc11dc805c000d9d95b523 Identifica o layout source= http://sap.com/xi/TextID; 1fd5ea5357cc11dcb247000d9d95b523 U: Urgente / N: Normal source=http://sap.com/xi/TextID 1fd5ea5457cc11dcb0a9000d9d95b523 source= http://sap.com/xi/TextID; 1fd5ea5557cc11dcc197000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5657cc11dca185000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5757cc11dc82ed9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5857cc11dcbd35000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5957cc11dcbb05000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5a57cc11dcbf2c000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5b57cc11dcba71000d9d95b523 source=http://sap.com/xi/TextID; 1fd5ea5c57cc11dcb7d5000d9d95b523 source= http://sap.com/xi/TextID; 5de9a39057cc11dc8844000d9d95b523 Número de Processo de Pedido de CC source=http://sap.com/xi/TextID 5de9a39157cc11dc9b7d000d9d95b523 source= http://sap.com/xi/TextID; 5de9a39257cc11dc8df8000d9d95b523 source= http://sap.com/xi/TextID; 5de9a39357cc11dcbb01000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39457cc11dc8de3000d9d95b523 source=http://sap.com/xi/TextID; 5de9a39557cc11dcc5f1000d9d95b523 xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; / type=p1:pspAnexosCartoes_out xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; transport= http://schemas.xmlsoap.org/soap/http; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / soapAction=http://sap.com/xi/WebService/soap1.1; xmlns:soap= http://schemas.xmlsoap.org/wsdl/soap/; / xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; / binding=p1:pspAnexosCartoes_outBinding xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/ location=http://xidev.incm.pt:50100/XISOAPAdapter/MessageServlet?channel=:CV:SenderChannel_SOAP_AnexosCartoesamp;version=3.0amp;Sender.Service=xamp;Interface=x%5Exhttp://xidev.incm.pt:50100/XISOAPAdapter/MessageServlet?channel=:CV:SenderChannel_SOAP_AnexosCartoesversion=3.0Sender.Service=xInterface=x%5Ex xmlns:soap= http://schemas.xmlsoap.org/wsdl/soap/; / - -- Dário Abdulrehman PGP Public