Calling a VB.NET Web Service Using Java

What is the best solution (if any) to call the vb.net web service with Java / JSP? If anyone could point me to any examples / links, I would really appreciate it.

Thank!

+3
source share
3 answers

To connect Java to the .NET web service, you will first need to create a WSDL. This can be done by adding ?WSDL.asmx (.NET) to the web service, for example.http://localhost:8080/myApp/myService.asmx?WSDL

To understand this, for Java you need a web service client. In Java 6, JAX-WS is the latest specification.

The next client that conforms to JAX-WS is:

- java WSDL. java 6 ( JDK_HOME/bin) ( ) WSDL java-. wsimport () ​​.

, - java, -, -.

+2

, - (RESTful SOAP ..). , - - ​​ , . , - , .

, VB.net, - .

: SOAP- , WSDL-. . Java WSDL WSDL2Java.

Java, :

+1

"- VB.NET" - ASP.NET( .asmx), Java Soap.

- ASP.NET WSDL ( -), , ?WSDL .asmx -. -, , SOAP, , . WSDL - , , , .

WSDL - XML- SOAP. , XML- SOAP HTTP-. , SOAP-. -, , -.

0

Source: https://habr.com/ru/post/1761583/


All Articles