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 Norman Kubicek <N....@intershop.de> on 2005/06/09 16:54:29 UTC

WSRP WSDL issue

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



Re: WSRP WSDL issue

Posted by Anne Thomas Manes <at...@gmail.com>.
This is an Axis bug.

On 6/9/05, Norman Kubicek <N....@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 
>