Skip to content

Wrong namespace used in call #48

@mpaluchowski

Description

@mpaluchowski

I'm trying to make a call via this WSDL and the namespace that the server expects is http://tempuri.org/, but the library sends http://tempuri.org/Imports instead. The WSDL has a section:

<wsdl:types>
  <xsd:schema targetNamespace="http://tempuri.org/Imports">
    <xsd:import schemaLocation="https://datastore.ceidg.gov.pl/CEIDG.DataStore/services/DataStoreProvider201901.svc?xsd=xsd0" namespace="http://tempuri.org/"/>
    <xsd:import schemaLocation="https://datastore.ceidg.gov.pl/CEIDG.DataStore/services/DataStoreProvider201901.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/"/>
    <xsd:import schemaLocation="https://datastore.ceidg.gov.pl/CEIDG.DataStore/services/DataStoreProvider201901.svc?xsd=xsd2" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays"/>
  </xsd:schema>
</wsdl:types>

and it looks like the call takes the namespace from this section's targetNamespace instead of taking it from the xsd:import or the top level wsdl:definitions.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions