|
Не удается создать WS-ссылку | ☑ | ||
---|---|---|---|---|
0
OnCheck
05.12.11
✎
08:20
|
Доброго дня, коллеги, нужна помощь. Создал веб сервис на Apachi. Проверил - работает. Создаю WS-ссылку, при создании пишет
Ошибка при выполнении файловой операции 'http://localhost:8080/FactorID/Ws/ws1.1cws?wsdl' по причине: Ошибка работы с Интернет: неверный формат ответа шлюзу (502). <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML dir=ltr><HEAD><TITLE>The page cannot be displayed</TITLE> <STYLE>A:link { FONT: 8pt/11pt verdana; COLOR: #ff0000 } A:visited { FONT: 8pt/11pt verdana; COLOR: #4e4e4e } </STYLE> <META content=NOINDEX name=ROBOTS> <META http-equiv=Content-Type content="text-html; charset=Windows-1252"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD> <BODY bgColor=#ffffff> <TABLE cellSpacing=5 cellPadding=3 width=410> <TBODY> <TR> <TD vAlign=center align=left width=360> <H1 style="FONT: 13pt/15pt verdana; COLOR: #000000"><!--Problem-->The page cannot be displayed</H1></TD></TR> <TR> <TD width=400 colSpan=2><FONT style="FONT: 8pt/11pt verdana; COLOR: #000000">There is a problem with the page you are trying to reach and it cannot be displayed.</FONT></TD></TR> <TR> <TD width=400 colSpan=2><FONT style="FONT: 8pt/11pt verdana; COLOR: #000000"> <HR color=#c0c0c0 noShade> <P>Please tr |
|||
1
OnCheck
05.12.11
✎
08:53
|
что за формат ответа шлюзу?
|
|||
2
OnCheck
05.12.11
✎
09:09
|
совсем не знаю куда копать, то ли веб сервис кривой, то ли объявление не верное, то ли адресная строка не корректная, хочу протестить веб сервис.
|
|||
3
OnCheck
05.12.11
✎
09:14
|
Вот что показывает браузер на http://localhost:8080/FactorID/Ws/ws1.1cws?wsdl:
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:soap12bind="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soapbind="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://localhost:8080" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsd1="http://localhost:8080" name="ПриветМир" targetNamespace="http://localhost:8080"> <types> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xs1="http://localhost:8080" targetNamespace="http://localhost:8080" elementFormDefault="qualified"> <xs:element name="Получить"> <xs:complexType> <xs:sequence/> </xs:complexType> </xs:element> <xs:element name="ПолучитьResponse"> <xs:complexType> <xs:sequence> <xs:element name="return" type="xs:string"/> </xs:sequence> </xs:complexType> </xs:element> </xs:schema> </types> <message name="ПолучитьRequestMessage"> <part name="parameters" element="tns:Получить"/> </message> <message name="ПолучитьResponseMessage"> <part name="parameters" element="tns:ПолучитьResponse"/> </message> <portType name="ПриветМирPortType"> <operation name="Получить"> <input message="tns:ПолучитьRequestMessage"/> <output message="tns:ПолучитьResponseMessage"/> </operation> </portType> <binding name="ПриветМирSoapBinding" type="tns:ПриветМирPortType"> <soapbind:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="Получить"> <soapbind:operation style="document"/> <input> <soapbind:body use="literal"/> </input> <output> <soapbind:body use="literal"/> </output> </operation> </binding> <binding name="ПриветМирSoap12Binding" type="tns:ПриветМирPortType"> <soap12bind:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="Получить"> <soap12bind:operation style="document"/> <input> <soap12bind:body use="literal"/> </input> <output> <soap12bind:body use="literal"/> </output> </operation> </binding> <service name="ПриветМир"> <port name="ПриветМирSoap" binding="tns:ПриветМирSoapBinding"> <documentation> <wsi:Claim xmlns:wsi="http://ws-i.org/schemas/conformanceClaim/" conformsTo="http://ws-i.org/profiles/basic/1.1"/> </documentation> <soapbind:address location="http://localhost:8080/FactorID/Ws/ws1.1cws"/> </port> <port name="ПриветМирSoap12" binding="tns:ПриветМирSoap12Binding"> <soap12bind:address location="http://localhost:8080/FactorID/Ws/ws1.1cws"/> </port> </service> </definitions> |
|||
4
OnCheck
05.12.11
✎
09:38
|
по этому результату можно определить работает ли Веб-сервис?
|
|||
5
OnCheck
05.12.11
✎
09:58
|
вверх
|
|||
6
OnCheck
05.12.11
✎
12:43
|
прикол в том, что сам web-сервис работает! Что может быть? куда копать?
|
|||
7
OnCheck
05.12.11
✎
13:08
|
нет спецов по работе с web - сервисами?
|
|||
8
OnCheck
05.12.11
✎
13:48
|
господа, хоть что нить посоветуйте, кроме, как ап.стену, уже и на IIS и на Apache поднял веб сервисы вроде работают. А при регистрации WS-ссылки ни как: "The page cannot be displayed"!
|
|||
9
svchernova
05.12.11
✎
13:58
|
(8) а разве wsdl файл не должен лежать в директории апача htdocs? Я небольшой спец, но у меня работает..
|
|||
10
Tonik
05.12.11
✎
14:16
|
может галка использовать прокси стоит в IE?
|
|||
11
svchernova
05.12.11
✎
15:06
|
(10) а где эту галку найти в IE? Gjlcrf;b? gj;fkeqcnf
|
|||
12
svchernova
05.12.11
✎
15:07
|
ой.. подскажи, пожалуйста
|
|||
13
Tonik
05.12.11
✎
15:30
|
сервис->свойства обозревателя->подключения->настройка сети.
|
|||
14
svchernova
05.12.11
✎
16:20
|
(13) спасибо
|
|||
15
OnCheck
06.12.11
✎
06:14
|
(13)
(14) спасибо, господа, проблема не в этом. С правами были проблемы, пока не понял где, но точно с правами. |
Форум | Правила | Описание | Объявления | Секции | Поиск | Книга знаний | Вики-миста |