[
https://issues.apache.org/jira/browse/AXIS2-1704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471237
]
Deepal Jayasinghe commented on AXIS2-1704:
------------------------------------------
Try now , I chcked and got the following wsdl. And that seems corrcet to me
<wsdl:definitions
xmlns:tns="http://www.vanos.be/webservices/iseries/isbeurscentrum"
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:import0="vanos:iseries:beurscentra"
xmlns="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="http://www.vanos.be/webservices/iseries/isbeurscentrum"><wsdl:documentation>isbeurscentrumService</wsdl:documentation><wsdl:types><xsd:schema
attributeFormDefault="unqualified" elementFormDefault="unqualified">
<xsd:import namespace="vanos:iseries:beurscentra"
schemaLocation="isbeurscentrumService?xsd=xsd0" />
</xsd:schema></wsdl:types><wsdl:message name="updateIn"><wsdl:part name="part1"
element="import0:update" /></wsdl:message><wsdl:message
name="updateOut"><wsdl:part name="part1" element="import0:updateResponse"
/></wsdl:message><wsdl:message name="insertIn"><wsdl:part name="part1"
element="import0:insert" /></wsdl:message><wsdl:message
name="insertOut"><wsdl:part name="part1" element="import0:insertResponse"
/></wsdl:message><wsdl:portType
name="isbeurscentrumServicePortType"><wsdl:operation name="update"><wsdl:input
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="tns:updateIn"
wsaw:Action="http://www.vanos.be/webservices/iseries/isbeurscentrum:updateIn"
/><wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
message="tns:updateOut"
wsaw:Action="http://www.vanos.be/webservices/iseries/isbeurscentrum/isbeurscentrumInterface/updateResponse"
/></wsdl:operation><wsdl:operation name="insert"><wsdl:input
xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" message="tns:insertIn"
wsaw:Action="http://www.vanos.be/webservices/iseries/isbeurscentrum:insertIn"
/><wsdl:output xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
message="tns:insertOut"
wsaw:Action="http://www.vanos.be/webservices/iseries/isbeurscentrum/isbeurscentrumInterface/insertResponse"
/></wsdl:operation></wsdl:portType><wsdl:binding
name="isbeurscentrumServiceSOAP11Binding"
type="tns:isbeurscentrumServicePortType"><soap:binding
transport="http://schemas.xmlsoap.org/soap/http" style="document"
/><wsdl:operation name="update"><soap:operation
soapAction="http://www.vanos.be/webservices/iseries/isbeurscentrum:updateIn"
style="document" /><wsdl:input><soap:body use="literal"
/></wsdl:input><wsdl:output><soap:body use="literal"
/></wsdl:output></wsdl:operation><wsdl:operation name="insert"><soap:operation
soapAction="http://www.vanos.be/webservices/iseries/isbeurscentrum:insertIn"
style="document" /><wsdl:input><soap:body use="literal"
/></wsdl:input><wsdl:output><soap:body use="literal"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding
name="isbeurscentrumServiceSOAP12Binding"
type="tns:isbeurscentrumServicePortType"><soap12:binding
transport="http://schemas.xmlsoap.org/soap/http" style="document"
/><wsdl:operation name="update"><soap12:operation
soapAction="http://www.vanos.be/webservices/iseries/isbeurscentrum:updateIn"
style="document" /><wsdl:input><soap12:body use="literal"
/></wsdl:input><wsdl:output><soap12:body use="literal"
/></wsdl:output></wsdl:operation><wsdl:operation
name="insert"><soap12:operation
soapAction="http://www.vanos.be/webservices/iseries/isbeurscentrum:insertIn"
style="document" /><wsdl:input><soap12:body use="literal"
/></wsdl:input><wsdl:output><soap12:body use="literal"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:binding
name="isbeurscentrumServiceHttpBinding"
type="tns:isbeurscentrumServicePortType"><http:binding verb="POST"
/><wsdl:operation name="update"><http:operation location="update"
/><wsdl:input><mime:content type="text/xml"
/></wsdl:input><wsdl:output><mime:content type="text/xml"
/></wsdl:output></wsdl:operation><wsdl:operation name="insert"><http:operation
location="insert" /><wsdl:input><mime:content type="text/xml"
/></wsdl:input><wsdl:output><mime:content type="text/xml"
/></wsdl:output></wsdl:operation></wsdl:binding><wsdl:service
name="isbeurscentrumService"><wsdl:port
name="isbeurscentrumServiceSOAP11port_http"
binding="tns:isbeurscentrumServiceSOAP11Binding"><soap:address
location="http://localhost:8080/axis2/services/isbeurscentrumService"
/></wsdl:port><wsdl:port name="isbeurscentrumServiceSOAP12port_http"
binding="tns:isbeurscentrumServiceSOAP12Binding"><soap12:address
location="http://localhost:8080/axis2/services/isbeurscentrumService"
/></wsdl:port><wsdl:port name="isbeurscentrumServiceHttpport1"
binding="tns:isbeurscentrumServiceHttpBinding"><http:address
location="http://localhost:8080/axis2/rest/isbeurscentrumService"
/></wsdl:port></wsdl:service></wsdl:definitions>
> Schema imports without namespaces
> ---------------------------------
>
> Key: AXIS2-1704
> URL: https://issues.apache.org/jira/browse/AXIS2-1704
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: wsdl
> Affects Versions: 1.1
> Environment: JRE 1.5
> Reporter: Brecht Yperman
> Assigned To: Deepal Jayasinghe
>
> Hi,
> I'm trying to connect to a webservice, deployed on Axis2, that has a wsdl
> with several imported XMLschemas.
> The result.xsd schema imports all elements from KlantDeleteID.xsd, which has
> no namespace.
> <xs:import schemaLocation="KlantDeleteID.xsd" />
> After deploying on Axis2, the generated XmlSchema
> (isbeurscentrumService?xsd=xsd*), states an empty string as the namespace.
> <xs:import namespace="" schemaLocation="isbeurscentrumService?xsd=xsd*"
> />
> I don't know if (no namespace) == (namespace with empty url), but according
> to this document: http://www.w3.org/TR/xml-names/ the empty string cannot be
> used as a namespace declaration (it's a very new document though).
> The fact that this "empty" namespace is declared seems to cause problems for
> .NET-clients...
> http://www.invenso.com/downloads/isbeurscentrumService.aar
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]