![]() |
|
IT и Связь Обсуждение "айтишных" вопросов и средств связи |
![]() |
|
Опции темы | Опции просмотра |
![]() |
#1 |
Заслуженный Участник
|
![]()
Привет,
Тут по работе индус бьётся на проблемой с JSP. Я этим не занимаюсь, но по его просьбе запостю здесь. Говорит, что русские программисты нам помогут. Льстец ![]() Короче вот. По-ангельски как было, переводить ломает. Если кто что знает, буду премного благодарен. I am a newbee in jsp development and I am using Netbeans IDE 6.9 for JSP web development. I am doing jsp development with Apache Tomcat server In one jsp page I want to use a web service on a web server. This web service was developed in asp.net. My general understanding is to reference a web service in the JSP application with netbeans is create a web service client. I follow the steps as 1. Right click on project and select new-> web service client 2. Give WSDL URL as http://imgsdev1/lpobjectscrm/captureservice.asmx?wsdl 3. Client style as JAX-WS style 4. Finish But I get the following error: Web Service Client can not be created by JAXWS:wsimport utility. Reason: undefined element declaration 's:scheme' There might be a problem during java artifacts creation: for example a name conflict in generated classes. To detect the problem see also the error messages in output window. You may be able to fix the problem in WSDL Customization dialog (Edit Web Service Attributes action) or by manual editing of the local wsdl or schema files, using the JAXB customization (local wsdl and schema files are located in xml resources directory(, After you fix the problem you need to refresh client from the web service reference node. In xml-resources-> web-service-refrences-captureservice-wsdl-imgsdev1-lpobjectscrm-captureservice.wsdl I found this block with the s:schema tag <s:element name="GetReportDataSetResponse"> <s:complexType> <s:sequence> <s:element minOccurs="0" maxOccurs="1" name="GetReportDataSetResult"> <s:complexType> <s:sequence> <s:element ref="s:schema" /> <s:any /> </s:sequence> </s:complexType> </s:element> </s:sequence> </s:complexType> </s:element> If i remove this block it doesnt like also. Please let me know what is wrong here. Also let me know if I am going the right way to reference the external web service. Thanks Thanks, Vijay |
![]() |
![]() |
Зарегистрируйтесь или войдите под своим именем, чтобы спрятать этот рекламный блок |
![]() |
#3 | |
nexus
|
![]() Цитата:
Индусу надо учиться гуглить: http://old.nabble.com/wsimport-probl...d14183294.html |
|
![]() |
![]() |
Благодарность от: | Dubliner (08.07.2010) |
![]() |
#5 |
nexus
|
![]() |
![]() |
![]() |
![]() |
|
|
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщ. |
помощь нужна | ljuljok | Вопросы и предложения | 4 | 09.03.2009 11:02 |
нужна помощь | VadyxaUman | Иммиграция | 2 | 20.01.2009 15:27 |
Нужна помощь | Татьяна Прокопенко | Услуги | 81 | 07.11.2008 16:38 |
нужна помощь!!! | Annik | Само приползло | 12 | 04.03.2008 11:03 |
Нужна помощь | dimaer | Общие темы | 11 | 12.12.2004 06:32 |