Difficult to answer without seeing javasource and generated wsdl please display the java source file please display the generated wsdl
M-- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: [EMAIL PROTECTED] To: [email protected] Sent: Friday, May 18, 2007 8:14 AM Subject: [Axis 1.4] Nothing happens when I run the web services Hi, I am new to web services. I created a few java classes, and I want to make a web service out of them. With Axis 1.4, integrated into the Jonas server. So I generated the WSDL using a little ant script that i wrote : <target name="generate-wsdl"> <axis-java2wsdl classname="com.lds.noee.tc.noyau.soap.CRMS7_SOAP_IDENTIFICATION" namespace="identif" location="http://localhost:9000/axis/services/identification" output="C:\NOEE\workspaces\wsprojet\JAVA\NOEEWS\WebContent\wsdl\identification.wsdl"> <classpath path="C:\NOEE\eclipse\wsprojet"/> </axis-java2wsdl> </target> And then I generated the deploy.wsdd file, and manually put the content in the server-config.wsdd file. <target name="generate-service-stub"> <axis-wsdl2java verbose="true" serverside="true" output="${repertoireSortie}" url="C:\NOEE\workspaces\wsprojet\JAVA\NOEEWS\WebContent\wsdl\identification.wsdl"> <mapping namespace="identif" package="com.lds.noee.tc.noyau.soap.identif"/> </axis-wsdl2java> </target> When I try to run the web service locally: http://localhost:9000/noeews/services/identification?method=recupererInfos&login=toto&motDePasse=titi&codeTccp=123456 I get this message immediately, as if nothing happens : <?xml version="1.0" encoding="UTF-8" ?> - <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> - <soapenv:Body> - <recupererInfosResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <recupererInfosReturn xsi:type="ns1:IdentificationRetour" xsi:nil="true" xmlns:ns1="http://bean.identification.soap.noyau.tc.noee.lds.com" /> </recupererInfosResponse> </soapenv:Body> </soapenv:Envelope> Does anyone know what I am missing or have any idea/suggestion ? Thanks
