You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by "Sagar Gattepally (JIRA)" <ws...@ws.apache.org> on 2006/02/10 02:09:56 UTC

[jira] Commented: (WSRP4J-69) Axis-Fault by generating WSDL-file

    [ http://issues.apache.org/jira/browse/WSRP4J-69?page=comments#action_12365809 ] 

Sagar Gattepally commented on WSRP4J-69:
----------------------------------------

I am not sure why but when i commented the following elements in server-config.wsdd this error goes away.

<!--typeMapping 
        xmlns:ns="urn:oasis:names:tc:wsrp:v1:types"
        qname="ns:ID"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="urn:oasis:names:tc:wsrp:v1:types"
        qname="ns:Handle"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      />
      <typeMapping
        xmlns:ns="urn:oasis:names:tc:wsrp:v1:types"
        qname="ns:Key"
        type="java:java.lang.String"
        serializer="org.apache.axis.encoding.ser.SimpleSerializerFactory"
        deserializer="org.apache.axis.encoding.ser.SimpleDeserializerFactory"
        encodingStyle=""
      /-->


> Axis-Fault by generating WSDL-file
> ----------------------------------
>
>          Key: WSRP4J-69
>          URL: http://issues.apache.org/jira/browse/WSRP4J-69
>      Project: WSRP4J
>         Type: Bug
>   Components: Web Services Stack
>     Versions: unspecified
>  Environment: SuSE Linux 9.2 and Windows XP
> Tomcat 5.0.28
>     Reporter: Michel Alessandrini

>
> The WSRP-Interfaces are available at http://localhost:8080/wsrp/services
> If you want to display a WSDL-file an Axis error occurred:
> -----------------------------------------------------------------------------
> AXIS error
> Sorry, something seems to have gone wrong... here are the details:
> Fault - Bean attribute name is of type java.lang.String, which is not a simple type
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException
>  faultSubcode: 
>  faultString: Bean attribute name is of type java.lang.String, which is not a simple type
>  faultActor: 
>  faultNode: 
>  faultDetail: 
> 	{http://xml.apache.org/axis/}hostname:xxx
> The links to these error-pages are
> http://localhost:8080/wsrp/services/WSRPRegistrationService?wsdl
> http://localhost:8080/wsrp/services/WSRPPortletManagementService?wsdl
> http://localhost:8080/wsrp/services/WSRPBaseService?wsdl
> http://localhost:8080/wsrp/services/WSRPServiceDescriptionService?wsdl
> -> It seems that the error is produced from the file wsdl/wsrp_v1_types.xsd at line 86 and 87.
> The attribute "lang" is the point of action. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira