You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2006/06/22 08:37:51 UTC

[jira] Resolved: (SM-468) Null Pointer Exception when only using XSD imports and no types element in WSDL definition

     [ https://issues.apache.org/activemq/browse/SM-468?page=all ]
     
Guillaume Nodet resolved SM-468:
--------------------------------

    Fix Version: 3.0
     Resolution: Fixed
      Assign To: Guillaume Nodet

Author: gnodet
Date: Wed Jun 21 23:35:16 2006
New Revision: 416269

URL: http://svn.apache.org/viewvc?rev=416269&view=rev
Log:
SM-468: Null Pointer Exception when only using XSD imports and no types element in WSDL definition
Patch submitted by Grant McDonald, thx

Modified:
    incubator/servicemix/trunk/servicemix-http/src/main/java/org/apache/servicemix/http/HttpEndpoint.java



> Null Pointer Exception when only using XSD imports and no types element in WSDL definition
> ------------------------------------------------------------------------------------------
>
>          Key: SM-468
>          URL: https://issues.apache.org/activemq/browse/SM-468
>      Project: ServiceMix
>         Type: Bug

>   Components: servicemix-http
>     Versions: 3.0-M2
>  Environment: Ubuntu Lunix 5.10, JDK 1.5.0_06-b05
>     Reporter: Grant McDonald
>     Assignee: Guillaume Nodet
>     Priority: Trivial
>      Fix For: 3.0
>  Attachments: HttpEndpoint.java.patch
>
> Original Estimate: 15 minutes
>         Remaining: 15 minutes
>
> The issue arises when deploying http endpoints where the WSDL definition does not declare any inline types but instead imports all types from external schemas.  The workaround for this is to use an emtpy types element, but correspondingly the fix is trivial as well.  (see attached patch for trunk)

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