Hi Nirmal,

I'm wondering what I'm missing.  I have my web service setup as a stateless
session bean which
accepts a serialized complex state LatLongReturn and spits out the complex
state ZipState.
The service has been deployed correctly.

(See attached file: ZipLookupManager.wsdl)

LatLongReturn and ZipState are in the correct directory per the naming
convention followed
(com.indus.banner.components.cdyne) and I've followed very closely the
AddressBook example
you mention.  However, I still get the same exception:

No mapping found for
'http://cdyne.components.banner.indus.com:LatLongReturn' using encoding
style 'http://schemas.xmlsoap.org/soap/encoding/'.
[java.lang.IllegalArgumentException]
      at
org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:251)
      at
org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:168)
      at
org.apache.axis.encoding.DeserializationContextImpl.endElement(DeserializationContextImpl.java:1001)
      ..................

This problem is only for the case when the input is a complex type, the DII
call works perfectly fine with input of simple data types like String etc.
FYI, here's the code I've used to make the DII call.

(See attached file: Run2.java)

 I would appreciate any pointers.
Thanks again.
Riz
----- Forwarded by Rizwan Ahmed/SC/Indus/US on 06/09/2003 03:57 PM -----
                                                                                       
                                                
                      Rizwan Ahmed                                                     
                                                
                      Sent by: Rizwan          To:       [EMAIL PROTECTED]             
                                          
                      Ahmed                    cc:                                     
                                                
                                               Subject:  No Mapping found..            
                                                
                                                                                       
                                                
                      06/06/2003 12:21                                                 
                                                
                      PM                                                               
                                                
                                                                                       
                                                
                                                                                       
                                                


Hi all,

A better way to phrase this question would be:
How can we use WSIF to invoke a web service which expects a complex type
mapping
as an input parameter?

Somewhat akin to:
      public      ComplexStateOut    Function( ComplexStateIn ) {.....}

There are samples which demonstrate return of a complex type
but none that take IN a complex type which is when I am having a "No
mapping found exception.....".

I would appreciate any response.

Thanks
Riz

Research & Innovative Solutions,
Indus International Inc.
Columbia, South Carolina
[EMAIL PROTECTED]



****************************************
This email message and all attachments transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and
privileged information. Please DO NOT forward this email outside of the recipient's 
Company unless expressly authorized to do so herein.  Any
unauthorized review, use, disclosure or distribution is prohibited. If you are not the 
intended recipient, please contact the sender by reply email
and destroy all copies of the original message.

Any views expressed in this email message are those of the individual sender except 
where the sender specifically states them to be the views of Indus
 International, Inc.
****************************************

Attachment: ZipLookupManager.wsdl
Description: Binary data

Attachment: Run2.java
Description: Binary data

Reply via email to