Need urgent help in wsdl modification.

Posted by Nisha03 under ASP.NET on 7/25/2011 | Points: 10 | Views : 959 | Status : [Member] | Replies : 11
When I type in, http://test/WSDocs/test.asmx?wsdl

I see my targetNamespace is wrong. From where I can modify this?




Responses

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
When you say target , what do you mean ?


Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nisha03 on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
I mean targetNamespace URL. here I am copying part of my code.

- <s:schema elementFormDefault="qualified" targetNamespace="http://test/WSDocs/test.asmx">
- <s:element name="AddEntryToLog">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="2" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="3" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="4" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="5" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="6" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="7" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>


Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
please run this on your browser and send me a Screenshot, include the address bar of your browser.

Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nisha03 on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
When I type in http://test/WSDocs/test.asmx?wsdl, it works fine.
Just wanted to know from where can I make changes for targetNamespace URI?

I have copied the part of the code here,

- <s:schema elementFormDefault="qualified" targetNamespace="http://test/WSDocs/test.asmx">
- <s:element name="AddEntryToLog">
- <s:complexType>
- <s:sequence>
<s:element minOccurs="0" maxOccurs="1" name="1" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="2" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="3" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="4" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="5" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="6" type="s:string" />
<s:element minOccurs="0" maxOccurs="1" name="7" type="s:string" />
</s:sequence>
</s:complexType>
</s:element>

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
The target address is equal to the address typed on the browser, if they are different , then check your DNS name it might not be correct.

Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nisha03 on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
see the attached file
 Download source file

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
So you problem is that the Base Address is not the same as the one inside the Schema ?


Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nisha03 on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
Yes, can we modify it?

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
This is a base address, ask your network administrator to fix it, this is a DNS name , let them change it and you will see it will be fine, if you search the post i posted in the previous days you will see that i had the same problem and there is nothing wrong with IIS , just let them fix the dns.

Thanks


Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Nisha03 on: 7/25/2011 [Member] Starter | Points: 25

Up
0
Down
Thanks a lot for the help. Can you please guide me or do you know where do they need to make changes for DNS name?

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 7/25/2011 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
i am not an Expert in Networking , if you have Network people in your company then you can ask them . But look

http://windows.microsoft.com/en-US/windows-vista/Change-TCP-IP-settings


Thank you for posting at Dotnetfunda
[Administrator]

Nisha03, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response