JHunt Thanks for your response. That is getting me about halfway. Inside of the wsdl definition there is a 'targetNamespace=' and this is what I want to get. Either that or the 'namespace' returned inside of the schema list.
I wish I could share my wsdl but it's for work and they won't allow me to share that on a public forum like this. Here is a editedup version of what I am talking about.
<wsdl:definitions name="ServiceName" targetNamespace="http://www.targetNamespace" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.tns/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:sas="http://www.sas" xmlns:hdr="http://www.hdr" xmlns:ex="http://www.Exception">
<wsdl:types>
<xs:schema elementFormDefault="qualified">
<xs:import namespace="http://www.namespace" schemaLocation="https://schemaLocation?xsd=../xsd/schemaLocation.xsd"/>
<xs:import namespace="http://www.Exception" schemaLocation="https://Exception/?xsd=..xsd/Exception.xsd"/>
<xs:import namespace="http://Header" schemaLocation="https://Header?xsd=../xsd/Header.xsd"/>
</xs:schema>
Is there a way to return those values by name?
Or if you look at the Project tab in SoapUI and you open the 'Interface Viewer' it lists all the parts of the interface. At the top it shows 'WSDL Definitions' and it lists the attributes by name.
- WSDL Definition
- WSDL URL
- Namespace
- Binding
- SOAP Version
- Style
- WS-A version
Do you know of a way to access these?