I deployed the TZCServiceSoapSkeleton and it still doesn't work. I'm a
little confused as to
how I should
replace the xml and target namespaces and the soap URLs. I'm using wsdl
that
was
generated from an outside source (remote wsdl), so the URLs need to be changed
in my
generated
code. The generated code has the following:
TZCServiceLocator:
.
.
// Use to get a proxy class for
TZCServiceSoap
private java.lang.String TZCServiceSoap_address = "http://localhost/ETTMServices/TZCService.asmx";
private java.lang.String TZCServiceSoap_address = "http://localhost/ETTMServices/TZCService.asmx";
public java.lang.String getTZCServiceSoapAddress()
{
return TZCServiceSoap_address;
}
return TZCServiceSoap_address;
}
.
.
TZCServiceSoapSkeleton:
.
.
_params = new
org.apache.axis.description.ParameterDesc []
{
new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://Sirit/ETTM/", "query"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false),
};
new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("http://Sirit/ETTM/", "query"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"), java.lang.String.class, false, false),
};
.
.
TZCServiceSoapStub:
.
.
_call.setOperationName(new
javax.xml.namespace.QName("http://Sirit/ETTM/",
"GetTransactions"));
.
.
Is it
correct to change the URLs to the following:
-----Original Message-----
From: Paul I Fodor [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 05, 2005 6:24 PM
To: axis-user@ws.apache.org
Subject: Re: First Web Service
You deploy the TZCServiceSoapSkeleton
Look over: http://ws.apache.org/axis/java/user-guide.html#Java2WSDLBuildingWSDLFromJava
That is example6 in the userguide and it seems to be what you whant to do.
Paul Fodor.
"Miller, Janet" <[EMAIL PROTECTED]> 07/05/2005 06:06 PM
Please respond to
axis-user
To<axis-user@ws.apache.org> cc SubjectFirst Web Service
I have a basic question about creating a web service. I'm creating my
very first one
and I'm starting with wsdl that was generated from an outside source. I
used wsdl2java to
generate the client stub and skeleton code. It generated a
TZCServiceSoapImpl.java file.
I modified that file to return a simple string from each of the methods
so that I could
test a simple web service. I then deployed the TZCServiceSoapImpl file.
Is that what I
was supposed to deploy? If so, I don't see how the
TZCServiceSoapSkeleton is used. I
don't see anything that calls it. Did I do the correct steps? It's not
working.
Jan