My exception class name is abc.xyz.MyException.java, i also have return
value as simple bean ResultBean.java which was at same package.

I am using Eclipse 3.3 (Europa's) facility to generate Web Services client
It is non-Tuscany client. It has following files generated when i have
passed url of generated wsdl.

Exception.java, MyException_Element.java,MyService.java,
MyServiceLocator.java, MyServicePortType.java, ResultBean.java,
MyServicePortTypeProxy.java and MyServiceSOAP11BindingStub.java

Now i have packaging structure in Eclipse....

     abc.xyz
            |
             - Exception.java
             - MyException_Element.java
             - MyService.java
             - MyServiceLocator.java
             - MyServicePortType.java
             - MyServicePortTypeProxy.java
             - MyServiceSOAP11BindingStub.java

     abc.xyz.xsd
            |
            - MyException.java
            - ResultBean.java

Now problem is in files (I can see red light) MyServicePortType,
MyServicePortTypeProxy and MyServiceSOAP11BindingStub.These file throwing
exception and using "abc.xyz.MyException" but it was actually at "
abc.xyz.xsd.MyException".
So still i have not used MyException class in my client example as i can see
red light  :)  in code and all code is auto generated.


I think i have answered all of your questions please let me know if any more
clarification. :)

-- 
Thanks
Nishant Joshi

Reply via email to