I'm confused. You have a WSDL document, correct? Did you run it through WSDL2Java? That should generate a skeleton and a WSDD. You still have to write some code to plug into the skeleton.
Alternatively, you can start with a class and deploy it using the JWS option (assuming you have no complex types). Or you can write a WSDD for it and deploy it. In both cases Axis generates your WSDL. Or you can run the class (or an interface) through Java2WSDL, generate a WSDL document, then run WSDL2Java to generate a skeleton and WSDD. (If you compile the class in debug mode, WSDL2Java can extract appropriate names for your parameters -- otherwise the parameters are called param1, param2, etc) Anne On Thu, May 22, 2008 at 6:56 AM, <[EMAIL PROTECTED]> wrote: > Hi, > > I have written a web service and deployed and that is fine, I am now trying > to use the wsdl I have generated with axis to build server side skeleton > code. I have managed to do this and it seems ok. I am now trying to use the > generated wsdd file from the skeleton deploy to generate a new wsdl. This > will prove that it is possible to build a working service against my service > from just the wsdl file. > > The problem is that I am getting the above error when I try to deploy the > wsdl file. I get the "And now some services" page with my method listed ok, > but when I click the link to my method I just get a page with "Axis error - > Could not generate WSDL! There is no SOAP service at this location" > displayed to me. > > I have stripped down the generated wsdd to almost nothing and it still > doesn't work. I have spent all morning trawling through mailing list > archives and this is a last shot. As it is so small, I have pasted my wsdd > below. > > Please can somebody help me out? > > Thanks > > Paul Ockleford > > WSDD: I have changed some aspects of this file. > > <deployment xmlns="http://xml.apache.org/axis/wsdd/" > xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> > > <service name="HealthSpaceService" provider="java:RPC"> > <parameter name="wsdlTargetNamespace" value="urn:hs.ltc"/> > <parameter name="wsdlServiceElement" > value="HealthSpaceServiceService"/> > <parameter name="schemaUnqualified" value="urn:hs.ltc"/> > <parameter name="wsdlServicePort" value="HealthSpaceService"/> > <parameter name="className" > value="ltc.hs.HealthSpaceServiceSoapBindingSkeleton"/> > <parameter name="wsdlPortType" value="HealthSpaceService"/> > <parameter name="typeMappingVersion" value="1.2"/> > <parameter name="allowedMethods" value="loadSystemDetail"/> > > <beanMapping xmlns:ns="urn:hs.ltc" qname="ns:LTCSystemRecordOutput" > languageSpecificType="java:ltc.hs.LTCSystemRecordOutput" /> > <beanMapping xmlns:ns="urn:hs.ltc" > qname="ns:LTCSystemRecordOutputData" > languageSpecificType="java:ltc.hs.LTCSystemRecordOutputData" /> > <beanMapping xmlns:ns="urn:hs.ltc" qname="ns:LTCSystemRecordInputData" > languageSpecificType="java:ltc.hs.LTCSystemRecordInputData" /> > <beanMapping xmlns:ns="urn:hs.ltc" qname="ns:LTCSystemRecordInput" > languageSpecificType="java:ltc.hs.LTCSystemRecordInput" /> > <beanMapping xmlns:ns="urn:hs.ltc" qname="ns:StandardOutput" > languageSpecificType="java:ltc.hs.StandardOutput" /> > </service> > </deployment> > > > ********************************************************************** > This message may contain confidential and privileged information. > If you are not the intended recipient please accept our apologies. > Please do not disclose, copy or distribute information in this e-mail > or take any action in reliance on its contents: to do so is strictly > prohibited and may be unlawful. Please inform us that this message has > gone astray before deleting it. Thank you for your co-operation. > > NHSmail is used daily by over 100,000 staff in the NHS. Over a million > messages are sent every day by the system. To find out why more and > more NHS personnel are switching to this NHS Connecting for Health > system please visit www.connectingforhealth.nhs.uk/nhsmail > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
