Well, I seem to be getting a
"{http://xml.apache.org/axis/}exceptionName:org.apache.axis.NoEndPointException"
exception.
As I poke around, there seems to be a MyServiceLocator.getPort(Class
serviceEndpointInterface) that sets my URL and there is no place this is
ever called or used.
From: Mike Haller <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: Issues using generated wsdl2java stubs and classes.
Date: Thu, 09 Jun 2005 11:02:48 +0200
All the "MyService" parts are coming from the name of your portType.
<wsdl:portType name="MyService">
results in:
MyServiceLocator myLocator = new MyServiceLocator();
MyService myService = locator.getMyService();
myService.doSomething();
You do not manually create/use the Request and Response messages. This is
handled by axis itself.
Mick Knutson schrieb:
I have generated various classes from my wsdl2java, but can't seem to
understand how to use them, or maybe I am missing some items.
I thought I would have something like:
CONSUMER_DATA_REQType consumerDataRequestType = new
CONSUMER_DATA_REQType();
WsvcConsumerQueryLocator consumerQueryLocator = new
WsvcConsumerQueryLocator();
WsvcConsumerQuery wsvcConsumerQueryService =
consumerQueryLocator.getwsvcConsumerQueryService();
CONSUMER_DATA_RSPType consumerDateResponse =
wsvcConsumerQueryService.findConsumer(consumerDataRequestType);
but there is NOT a consumerQueryLocator.getwsvcConsumerQueryService();
generated.
And in the wsvcConsumerQueryService, there is not a way to call my
service, there is only a getwsvcConsumerQueryPort()
I am just unsure of how to piece these items together.
Can anyone help?
I can send you my WSDL and you can see for yourself.
BTW, I am using Maven to run wsdl2java each build.
Thanks in advance for your help on this matter.
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)
Thank You
Mick Knutson
Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com
HP Consulting Services (Walnut Creek, CA)