You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Liang Chen <la...@gmail.com> on 2004/12/08 04:30:58 UTC

Re: WSDL?

The static one worked fine for me.

Try using: http://hostname:8080/wsrp/wsdl/wsrp4j_service.wsdl, change
that file according to your env.


On Wed, 24 Nov 2004 10:59:07 +0100, denis queffeulou
<de...@wokup.com> wrote:
> thanks for reply,
> 
> Actually I tried to install a producer portlet wsrp4j/tomcat (that
> already works with Swing consumer)  in weblogic portal, and the weblogic
> wizard asks for the producer WSDL URL. I tried some of the static one
> but I can't found one that is accepted by weblogic.
> 
> Does anyone knows about weblogic / wsrp4j constraints ?
> 
> --
> Denis
> 
> 
> 
> >This is rapidly becoming a TFAQ (Too Frequently Asked Question).
> >
> >The auto-generation of wsdl via Axis doesn't work. You shouldn't worry
> >too much about this as the WSRP services themselves work fine. I *think*
> >that this is a bug in Axis.
> >
> >If you look in the wsrp Web directory you will find some static WSDL
> >files which you can use instead of the autogenerated ones if you need
> >WSDL (you may need to edit the endpoint URLs in these files).
> >
> >Do any of the developers know what the particular Axis problem is and
> >whether this has been reported to Axis?
> >
> >Matthew Dovey
> >Oxford University
> >
> >
> >
> >>-----Original Message-----
> >>From: denis queffeulou [mailto:denis.queffeulou@wokup.com]
> >>Sent: 24 November 2004 09:42
> >>To: wsrp4j-user@ws.apache.org
> >>Subject: WSDL?
> >>
> >>Hi,
> >>
> >>I try the following URL :
> >>
> >>http://localhost:8080/wsrp/services/WSRPServiceDescriptionService?wsdl
> >>
> >>and the result is:
> >>
> >>
> >>    AXIS error
> >>
> >>Sorry, something seems to have gone wrong... here are the details:
> >>
> >>Exception - java.lang.reflect.InvocationTargetException
> >>
> >>
> >>
> >>  WSRPServiceDescriptionService
> >>
> >>Hi there, this is an AXIS service!
> >>
> >>/Perhaps there will be a form for invoking the service here...
> >>
> >>/I was expected a WSDL
> >>What can I do to resolve the problem ?
> >>
> >>Thanks,
> >>
> >>--
> >>Denis/
> >>
> >>
> >>/
> >>
> >>
> >>
> >
> >
> >
> >
> 
> 


-- 
Liang Chen
in Shanghai, China

Re: WSDL?

Posted by denis queffeulou <de...@wokup.com>.
Thanks,

finally, I discovered that the problem came from Tomcat that send a 
plain/text MIME type for WSDL. So I changed the configuration to map to 
text/xml and then it works.

-- 
Denis

>The static one worked fine for me.
>
>Try using: http://hostname:8080/wsrp/wsdl/wsrp4j_service.wsdl, change
>that file according to your env.
>
>
>On Wed, 24 Nov 2004 10:59:07 +0100, denis queffeulou
><de...@wokup.com> wrote:
>  
>
>>thanks for reply,
>>
>>Actually I tried to install a producer portlet wsrp4j/tomcat (that
>>already works with Swing consumer)  in weblogic portal, and the weblogic
>>wizard asks for the producer WSDL URL. I tried some of the static one
>>but I can't found one that is accepted by weblogic.
>>
>>Does anyone knows about weblogic / wsrp4j constraints ?
>>
>>--
>>Denis
>>
>>
>>
>>    
>>
>>>This is rapidly becoming a TFAQ (Too Frequently Asked Question).
>>>
>>>The auto-generation of wsdl via Axis doesn't work. You shouldn't worry
>>>too much about this as the WSRP services themselves work fine. I *think*
>>>that this is a bug in Axis.
>>>
>>>If you look in the wsrp Web directory you will find some static WSDL
>>>files which you can use instead of the autogenerated ones if you need
>>>WSDL (you may need to edit the endpoint URLs in these files).
>>>
>>>Do any of the developers know what the particular Axis problem is and
>>>whether this has been reported to Axis?
>>>
>>>Matthew Dovey
>>>Oxford University
>>>
>>>
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: denis queffeulou [mailto:denis.queffeulou@wokup.com]
>>>>Sent: 24 November 2004 09:42
>>>>To: wsrp4j-user@ws.apache.org
>>>>Subject: WSDL?
>>>>
>>>>Hi,
>>>>
>>>>I try the following URL :
>>>>
>>>>http://localhost:8080/wsrp/services/WSRPServiceDescriptionService?wsdl
>>>>
>>>>and the result is:
>>>>
>>>>
>>>>   AXIS error
>>>>
>>>>Sorry, something seems to have gone wrong... here are the details:
>>>>
>>>>Exception - java.lang.reflect.InvocationTargetException
>>>>
>>>>
>>>>
>>>> WSRPServiceDescriptionService
>>>>
>>>>Hi there, this is an AXIS service!
>>>>
>>>>/Perhaps there will be a form for invoking the service here...
>>>>
>>>>/I was expected a WSDL
>>>>What can I do to resolve the problem ?
>>>>
>>>>Thanks,
>>>>
>>>>--
>>>>Denis/
>>>>
>>>>
>>>>/
>>>>
>>>>
>>>>
>>>>        
>>>>
>>>
>>>
>>>      
>>>
>>    
>>
>
>
>  
>