Hi Riz,

Sorry you're not getting much help from the lists, I'm currently working on
a different project so not actively participating in Apache WSIF, although
I do have hopes to come back to it in the future. I had a quick look at
your trace, are you sure the error is not happening on the server? You
could use TCPMON to look at the response message, the trace makes it look
like its the server side that is sending back a fault:

AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: No mapping found for
'http://cdyne.components.banner.indus.com:LatLongReturn' using
encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
[java.lang.IllegalArgumentException]
 faultActor: /xconnectors-web/ZipLookupManager
 faultNode:
 faultDetail:
      {http://xml.apache.org/axis/}stackTrace: AxisFault
 faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
 faultSubcode:
 faultString: No mapping found for
'http://cdyne.components.banner.indus.com:LatLongReturn'
using encoding style
'http://schemas.xmlsoap.org/soap/encoding/'.
[java.lang.IllegalArgumentException]
 faultActor: /xconnectors-web/ZipLookupManager
 faultNode:
 faultDetail:

Has the service been deployed with a WSDD describing the complex types?

If that's not the case and you still need help all I can suggest is you ask
more loudly/persistently on the mailing lists.

Regards,

       ...ant

Anthony Elder
[EMAIL PROTECTED]
Web Services Development
IBM UK Laboratories,  Hursley Park
(+44) 01962 818320, x248320, MP208.


[EMAIL PROTECTED] on 10/06/2003 22:17:04

To:    Anthony Elder/UK/[EMAIL PROTECTED]
cc:
Subject:    Cannot make DII calls to services with complex IN parameter
       types



Hi Anthony,

I know you're probably busy with other things but I was wondering if you've
come across
something similar to the problem I'm having (pl scroll below).

Thanks a lot!

Riz
----- Forwarded by Rizwan Ahmed/SC/Indus/US on 06/10/2003 05:11 PM -----

                      Rizwan Ahmed
                                               To:
[EMAIL PROTECTED]
                      06/09/2003 05:42         cc:
                      PM                       Subject:  No Mapping found..




Hi,

Here's the trace file.   I guess all the information is available therein.

(See attached file: wsif.log)

Thanks
Riz
----- Forwarded by Rizwan Ahmed/SC/Indus/US on 06/09/2003 05:36 PM -----

                      Rizwan Ahmed
                                               To:
[EMAIL PROTECTED]
                      06/09/2003 04:17         cc:
                      PM                       Subject:  No Mapping found..




Hi,

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.
****************************************







Reply via email to