You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Soeren Thust (JIRA)" <ax...@ws.apache.org> on 2006/02/10 02:31:55 UTC

[jira] Created: (AXIS-2401) xmlns="http://schemas.xmlsoap.org/wsdl/" missing

xmlns="http://schemas.xmlsoap.org/wsdl/" missing
------------------------------------------------

         Key: AXIS-2401
         URL: http://issues.apache.org/jira/browse/AXIS-2401
     Project: Apache Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.3    
    Reporter: Soeren Thust


I'm using Axis 1.3 and find that when I source view the Axis generated wsdl file in a web browser, the line
xmlns="http://schemas.xmlsoap.org/wsdl/"
Is missing, if I use Axis 1.1 this line is there.

1) Here's the part of the original wsdl file used to deploy the service:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
    targetNamespace="G2P_API"
    xmlns:impl="G2P_API"
    xmlns:intf="G2P_API"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:apachesoap="http://xml.apache.org/xml-soap"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
...

2) After successfully deploying my service I request the URL:
http://server:port/axis/services/G2P_API?wsdl
And get a mostly correct wsdl file returned, but it's missing the line from the wsdl:definitions section:
xmlns="http://schemas.xmlsoap.org/wsdl/"
that I put there originally. Here's the output from the request above (source view of the browser):

<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:impl="G2P_API" xmlns:intf="G2P_API" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="G2P_API">
<!--WSDL created by Apache Axis version: 1.3
Built on Oct 05, 2005 (05:23:37 EDT)-->
 <types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="G2P_API">
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
...

The line
xmlns="http://schemas.xmlsoap.org/wsdl/"
Is missing from the definitions sections.

If I use Axis 1.1 and do the same steps the line is there:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:impl="G2P_API" xmlns:intf="G2P_API" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="G2P_API">
<types><schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="G2P_API"><import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
...

Is this a known bug with Axis 1.3 or is there a configuration setting I'm missing?

Please let me know if there is a configuration setting I can change to get that line since most skeleton compilers depend on it.
Thanks,
Soeren

-- 
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