You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Sanjiva Weerawarana <sa...@watson.ibm.com> on 2002/12/02 12:41:10 UTC

Re: WSIF

Hi Paul,

THe specific problem you're having is that the server at 
192.168.8.31:8080 is not sending a content-type header for
WSDL files. I'd guess you're using Tomcat- I reported that
as a bug a while back but don't know what was done. (The
default mime.types should be updated.)

You can of course configure the server to send back a type-
edit the mime.types file yourself.

There are a couple of articles about WSIF by Nirmal Mukhi
on developerWorks which may help you. Also, please direct 
WSIF questions to axis-dev@xml.apache.org with the word [WSIF] 
in the subject.

Bye,

Sanjiva.


----- Original Message ----- 
From: "Paul J. Caritj" <pc...@riovia.net>
To: <so...@xml.apache.org>
Sent: Thursday, November 21, 2002 4:17 AM
Subject: WSIF


> Greetings,
> Does anyone out there know of a good guide/tutorial/intro to WSIF? I'm
> *attempting* to use IBM's WSIF package but to no avail.
> 
> Here is what I get back when I try to invoke the service using IBMs
> WSIF:
> 
> Exception in thread "main" WSDLException: faultCode=OTHER_ERROR: Unable
> to resolve imported document at
> 'http://192.168.0.31:8080/soap/RPCMultiplierService.wsdl'.: no
> content-type: java.net.UnknownServiceException: no content-type
>         at
> java.net.URLConnection.getContentHandler(URLConnection.java:1059)
>         at java.net.URLConnection.getContent(URLConnection.java:583)
>         at java.net.URL.getContent(URL.java:974)
>         at
> com.ibm.wsdl.util.StringUtils.getContentAsReader(StringUtils.java:356)
>         at com.ibm.wsdl.xml.WSDLReader.readWSDL(WSDLReader.java:1027)
>         at com.ibm.wsif.stub.WSIFUtils.readWSDL(WSIFUtils.java:326)
>         at Main.main(Main.java:39)
>         at com.ibm.wsdl.xml.WSDLReader.readWSDL(WSDLReader.java:1040)
>         at com.ibm.wsif.stub.WSIFUtils.readWSDL(WSIFUtils.java:326)
>         at Main.main(Main.java:39)
> 
> I really have no idea what I'm doing as I have yet to find a
> comprehensive explanation of how to use WSIF. It is also worth noting
> that I am *not* using UDDI in conjunction with this (I'm merely passing
> a literal URL to the target WSDL file).
> 
> Thoughts, anyone?
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@xml.apache.org>
> For additional commands, e-mail: <ma...@xml.apache.org>