Title: Message

Hi, Haneef,

 

I am not sure I understand.

 

There is myOperation defined on the generated service (MyCompanyLocator) object.

 

Am I missing something?

 

Thanks.

 

- Wei Chen

 

-----Original Message-----
From: ALI,HANEEF (HP-Cupertino,ex1) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 4:25 PM
To: '[EMAIL PROTECTED]'
Subject: RE: how to make this WSDL work?

 

Change your test program to for document type

 

    String  x = service.myOperation(p0, 2, 8, p4);

 

Haneef

-----Original Message-----
From: Wei Chen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 4:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: how to make this WSDL work?

Hi,

 

I try to implement the attached WSDL (using document/literal). I used the following command to generate Java:

 

  java org.apache.axis.wsdl.WSDL2Java -s MyService.wsdl

 

and register the service using:

 

  java org.apache.axis.client.AdminClient MyService\deploy.wsdd

 

 

But my test always fails (with null pointer exception).

 

Could someone tell me what's wrong? Do I have to do something special to make document/literal working? (It seems if I change WSDL to rpc/encoded style, the test is fine).

 

Thanks.

 

- Wei Chen

Attachment: MyCompanyLocator.java
Description: MyCompanyLocator.java

Reply via email to