Hans Jakob Skovenborg wrote:
> Hi Joergen
> Did you use WSDL2Java to build your WebService client stub.
> It generates the following class'es for you.
> You should have 2 implementing classes, a ServiceLocator.java and a
> bindingStub.java + 2 interface class'es for those. You should also
> have some Value Beans Could you show your implementing class'es.

Yes, they were autogenerated. I got 4 files from that:
MinMark.java
MinMarkLocator.java
MinmarkSoap.java
MinMarkSoapStub.java

The code I use is more or less this:
dk.dlg.www.MinMarkLocator minMarkLocator = new dk.dlg.www.MinMarkLocator();
dk.dlg.www.MinMarkSoap minMarkSoap = minMarkLocator.getMinMarkSoap();
if(minMarkSoap.checkUserId(customer, sessionid)) {
//something
}

Maybe I should have posted more of the error - here is a bit more of it:
at dk.dlg.www.MinMarkLocator.(MinMarkLocator.java:10)
at LoginPage.dlgLogin(LoginPage.java:39)
at MinMark.processRequest(MinMark.java:222)
at MinMark.doGet(MinMark.java:882)

The "LoginPage.java:39" is the first line in the code posted above.


/Joergen Ramskov

Reply via email to