portals-wsrp4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anne Thomas Manes <atma...@gmail.com>
Subject Re: WSRP WSDL issue
Date Fri, 17 Jun 2005 01:06:31 GMT
This is an Axis bug.

On 6/9/05, Norman Kubicek <N.Kubicek@intershop.de> wrote:
>  
> 
> Hallo, 
> 
> currently I am trying to extend a software project with WSRP producer
> functionalities. For this reason I have evaluated the WSRP4J project. Please
> allow me to ask one question regarding an issue which occurs in the context
> of the WSRP schema definition and the Axis WebServices stack. 
> 
> If I try to get the wsdl description for a arbitrary WSRP port, e.g.: 
> 
> http://localhost:8080/wsrp/services/WSRPServiceDescriptionService?WSDL
> 
> the following error occurs: 
> 
> Jun 9, 2005 11:23:54 AM
> org.apache.axis.providers.BasicProvider generateWSDL 
> INFO: Mapping Exception to AxisFault 
> AxisFaultAxisFault 
>  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
>  faultSubcode: 
>  faultString: Bean attribute lang is of type java.lang.String, which is not
> a simple type 
>  faultActor: 
>  faultNode: 
>  faultDetail: 
>         {http://xml.apache.org/axis/}stackTrace:AxisFault 
>  faultCode:
> {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
>  faultSubcode: 
>  faultString: Bean attribute lang is of type java.lang.String, which is not
> a simple type 
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> 
> It seems that the reason for this error are definitions in the
> wsrp_v1_types.xsd file, like the following: 
> 
>   <complexType name="Resource"> 
>     <sequence> 
>       <element name="values"     type="types:ResourceValue"
> maxOccurs="unbounded"/> 
>       <element name="extensions" type="types:Extension"     minOccurs="0"
> maxOccurs="unbounded"/> 
>     </sequence> 
>     <attribute name="resourceName" type="xsd:string" use="required"/> 
>   </complexType> 
> 
> Is this issue a problem of the Axis
> org.apache.axis.providers.BasicProvider implementation or
> of the WSRP schema definition? 
> 
> Regards, 
> Norman 
>

Mime
View raw message