You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsif-user@ws.apache.org by da...@bt.com on 2003/04/03 15:16:17 UTC

RE: Can you help with this problem running the complex soap sampl e

Here's the wsdl for the problem below



Dave 


-----Original Message-----
From: Anthony Elder [mailto:ant.elder@uk.ibm.com]
Sent: 03 April 2003 13:54
To: wsif-user@ws.apache.org
Subject: Re: Can you help with this problem running the complex soap
sample



Could you post the wsdl for this. If the attachments are large its probably
better to raise a bugzilla and add any attachments to that. See
http://ws.apache.org/wsif/bugs.html

       ...ant

Anthony Elder
ant.elder@uk.ibm.com
Web Services Development
IBM UK Laboratories,  Hursley Park
(+44) 01962 818320, x248320, MP208.


dave.prout@bt.com on 03/04/2003 09:35:23

Please respond to wsif-user@ws.apache.org

To:    wsif-user@ws.apache.org
cc:
Subject:    Can you help with this problem running the complex soap sample




Hi,

    I've amended the comples soap sample  to try to run of my web services.
When I run it I get the following  error

D:\wsif>java complexsoap.client.stub.RunCH020X
samples/complexsoap/CH020X.wsdl 1
0005
Error while executing sample,  received an exception from WSIF; details:
org.apache.wsif.WSIFException:  Method getCustomerProfile(class
complexsoap.clien
t.stub.com.bt.www.css.mmbi._2002._06.types.E2E, class
complexsoap.client.stub.co
m.bt.www.css.mmbi._2002._06.types.MmbiInput, class  java.lang.String) was
not fou
nd in portType  {http://www.bt.com/css/mmbi/CH020X/}CH020XSoapPort
         at
org.apache.wsif.base.WSIFClientProxy.findMatchingOperation(Unknown  So
urce)
        at  org.apache.wsif.base.WSIFClientProxy.invoke(Unknown  Source)
        at  $Proxy0.getCustomerProfile(Unknown  Source)
        at  complexsoap.client.stub.RunCH020X.main(runch020x.java:73)

The  method exists in CH020XSoapPort, and it has the right signature. Is
this likely  to be something wrong in my code in RunCH020X.java, or a
problem with the  wsdl.

Am I  allowed to insert attachments for wsdl and program source in emails
to this list  ?#

Thanks

Dave



Dave Prout


Technical Architecture

01442 296778
-----Original Message-----
From: dave.prout@bt.com  [mailto:dave.prout@bt.com]
Sent: 02 April 2003 22:06
To:  wsif-user@ws.apache.org
Subject: RE: Can't get dynamic invocation  working - now works


Ant,

I downloaded the nightly build from 1st April, and now it works.

I'd still like to know if I should/could use WSIF for more complex method
calls with four or five input fields.
These are services that ultimately run on our IBM mainframes under  CICS.

Dave
-----Original Message-----
From: Anthony Elder  [mailto:ant.elder@uk.ibm.com]
Sent: Wed 02/04/2003 18:49
To: wsif-user@ws.apache.org
Cc:
Subject:  Re: Can't get dynamic invocation working



Hi Dave, the problem you're having is the same as an  existing bugzilla:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18520.  I hope to get a
fix in for this tomorrow.

Incidentally you don't really need to copy WSDL locally to  monitor calls
with TCPMON. In the TCPMON Admin  screen if you select Act as a proxy you
can then set  the Java proxy system properties to point to this when you
run
your wsif client. For example if TCPMON is acting as a  proxy on port 4321:

java -Dhttp.proxyHost=localhost -Dhttp.proxyPort=4321
clients.DynamicInvoker
http://www.bipolar.org.uk/webservices/StringOut.asmx?WSDL
getName(StringOutSoap)

       ...ant

Anthony Elder
ant.elder@uk.ibm.com
Web Services  Development
IBM UK Laboratories,  Hursley  Park
(+44) 01962 818320, x248320, MP208.

Aleksander Slominski <as...@cs.indiana.edu> on  02/04/2003 17:39:55

Please respond to wsif-user@ws.apache.org

To:    wsif-user@ws.apache.org
cc:
Subject:    Re:  Can't get dynamic invocation working


dave.prout@bt.com wrote:

>     Hope you saw my two emails of  last night.
>
>     Trying to do as you said and use tcpmon.  How do I change the port
>that the Dynamic  Invokes calls ?
>
>     Thanks
>
>
hi  Dave,

simple thing to do is to save WSDL document locally and edit  it to
change port address to point to localhost:port  where tcpmon is running
and use such modified  WSDL.

you can also modify dynamically WSDL just before invoking  methods on it
by using WSDL4J API but it requires  more effort. here is one possible
way to do this  described:
http://marc.theaimsgroup.com/?l=wsif-user&m=104563322923276&w=2

thanks,

alek

>
>
>
>-----Original Message-----
>From: Aleksander Slominski [mailto:aslom@cs.indiana.edu]
>Sent: 01 April 2003 17:15
>To: wsif-user@ws.apache.org
>Subject:  Re: Can't get dynamic invocation working
>
>
>dave.prout@bt.com  wrote:
>
>
>
>>Hi,
>>
>>    I'm  trying to use DynamicInvoker to call a simple service defined in
>>.Net, that takes one string in, and returns this as  out put.
>>
>>    Although the call doesn't produce any  errors, it also doesn't
>>produce any  output.
>>
>>    Can you think of anything I might be  missing, or do you need all the
>>details
>>
>>
>>
>hi,
>
>yes - if you provide more details  such as how you execute dynamic
>invoker, what  WSDL is used, and what are SOAP messages on the wire (use
>tools such as TCP Mon or as described in AXIS users guide:
>
http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide.h


>tml#tcpmon)
>then there is  good chance somebody will be able to help you but if you
>say it does not work it is not too helpful (i can say you that it  works
>for me ...)
>
>thanks,
>
>alek
>
>
>

--
"Mr. Pauli, we in the audience  are all agreed that your theory is crazy.
What  divides us is whether it is crazy enough to be true." Niels H. D.
Bohr