The
address book sample looks like its just for ejbs and localjava. Are you
saying I can use it for all web services ?
The
complex soap sample just seems to take a ZipCode on input.
Are we
looking at different products ?
Dave
-----Original Message-----
From: Nirmal Mukhi [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 16:24
To: [EMAIL PROTECTED]
Subject: RE: When to use WSIF and when to use straight axis
Hi,
The addressbook test invokes an addressbook service that offers an operation with an input msg that has multiple parts. The complexsoap sample uses a service that takes multiple input parameters (it actually takes a message with one part - an element, but the java JAX RPC stub interface will have a method with multiple parameters). There are probably others, this is off the top of my head.
Nirmal.
[EMAIL PROTECTED] 04/02/2003 10:03 AM
Please respond to wsif-user
To: [EMAIL PROTECTED]
cc:
Subject: RE: When to use WSIF and when to use straight axis
Nirmal,
I've been through the samples and can't find any, unless you mean the very specific ones.
Dave
-----Original Message-----
From: Nirmal Mukhi [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 15:58
To: [EMAIL PROTECTED]
Subject: Re: When to use WSIF and when to use straight axis
Hi,
Go through the WSIF samples and tests, there are several examples of using web services that have operations requiring multiple input parameters.
WSIF should be able to do just about anything you can do with Axis. The advantage of using WSIF is that programming to a WSDL-driven API gives you the flexibility to switch to other bindings later without affecting your client code, take advantage of services that offer multiple bindings, etc. The WSIF website has some docs that describe WSIF's benefits in more detail.
Nirmal.
[EMAIL PROTECTED] 04/02/2003 06:11 AM
Please respond to wsif-user
To: [EMAIL PROTECTED]
cc:
Subject: When to use WSIF and when to use straight axis
Hi,
If I have a web service that uses comples types, and has several
input fields, can this be done in WSIF ? Are there any examples of calling a
service with several inputs ? Is there any point in doing this with WSIF as
opposed to using the normal axis method ?
Dave
-----Original Message-----
From: Anthony Elder [mailto:[EMAIL PROTECTED]
Sent: 02 April 2003 09:16
To: [EMAIL PROTECTED]
Subject: RE: Can't get dynamic invocation working
Hi Dave, Which release of WSIF are you using and could you post the WSDL or
link to it to the list? If you're using the 2.0 release there have been
some fixes for .Net interoperability committed since then so a recent
nightly build may work. better.
...ant
Anthony Elder
[EMAIL PROTECTED]
Web Services Development
IBM UK Laboratories, Hursley Park
(+44) 01962 818320, x248320, MP208.
[EMAIL PROTECTED] on 01/04/2003 21:12:32
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: RE: Can't get dynamic invocation working
It also works fine when I call an axis service which returns the input
string. It's just .NET that it has a problem with.
Also, the .NET service works fine with clients of other toolkits, including
axis.
Dave
-----Original Message-----
From: [EMAIL PROTECTED]
Sent: Tue 01/04/2003 20:08
To: [EMAIL PROTECTED]
Cc:
Subject: RE: Can't get dynamic invocation working
OK,
I have two web services.
The first just returns a string, and I invoke it like this
F:\wsif-2.0>java clients.DynamicInvoker
http://www.bipolar.org.uk/webservices/StringOut.asmx?WSDL
<http://www.bipolar.org.uk/webservices/StringOut.asmx?WSDL>
getName(StringOutSoap)
this works and returns the output string.
The second takes an input string and returns it, and I invoke it like this
F:\wsif-2.0>java clients.DynamicInvoker
http://www.bipolar.org.uk/webservices/simplerpc.asmx?WSDL
<http://www.bipolar.org.uk/webservices/simplerpc.asmx?WSDL>
getEcho(SimpleRPCSoap) SOAP instring
and this is the output I get
Reading WSDL document from
'http://www.bipolar.org.uk/webservices/simplerpc.asmx
?WSDL'
Preparing WSIF dynamic invocation
- WSIF0006W: Multiple WSIFProvider found supporting the same namespace URI
'http
://schemas.xmlsoap.org/wsdl/soap/'. Found
('org.apache.wsif.providers.soap.apach
eaxis.WSIFDynamicProvider_ApacheAxis,
org.apache.wsif.providers.soap.apachesoap.
WSIFDynamicProvider_ApacheSOAP')
- WSIF0007I: Using WSIFProvider
'org.apache.wsif.providers.soap.apacheaxis.WSIFD
ynamicProvider_ApacheAxis' for namespaceURI
'http://schemas.xmlsoap.org/wsdl/soa
p/'
Executing operation getEcho
Result:
getEchoResult=null
Done!
Why don't I get a reult ?
What is wrong with my invocation parameters ?
Thanks very much
Dave
-----Original Message-----
From: Aleksander Slominski [mailto:[EMAIL PROTECTED]
Sent: Tue 01/04/2003 17:15
To: [EMAIL PROTECTED]
Cc:
Subject: Re: Can't get dynamic invocation working
[EMAIL PROTECTED] 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
<http://cvs.apache.org/viewcvs.cgi/~checkout~/xml-axis/java/docs/user-guide
.
html#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
