Questions tagged [wsdl2java]

WSDL2Java is a JAX-RPC tool that is run against the WSDL file to create Java APIs and deployment descriptor templates according to these specifications.

656 questions
0
votes
1 answer

what should be difference between dev and prod wsdl

I am working on java web services using the axis2. Initially, I received the dev WSDL URL and I generated the web service client code and called the required web service. Now I have received the prod WSDL URL. I have below concerns 1. Do I need to…
Rohit
  • 445
  • 2
  • 7
  • 17
0
votes
1 answer

How can i get service details from the port definition in a wsdl file?

Im using JAVA APIs(javax.wsdl.*) to parse my WSDL file. My purpose is to edit the wsdl's service address to a custom location. For that, i use JAVA APIs to parse my wsdl and access the service address location and want to edit it. I'm able to get…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

How to get the Service Mode from WSDL file?

I need to create the dynamic client to call web services, which can call web services with Service Mode as Service.Mode.PAYLOAD as well as Service.Mode.MESSAGE. I have created the Dispatcher as: Dispatch sourceDispatch…
AmM
  • 115
  • 1
  • 11
0
votes
1 answer

wsdl2java operation not found

I'm creating a one-way operation in a WSDL that has several other working two-way (request/response) operations. Code generation using wsdl2java via maven is failing with the following error: [ERROR] Failed to execute goal…
0
votes
1 answer

Specify the wsdl url in pom.xml and have the wsdl jar downloaded to local machine

Here is a wsdl service link: http://www.webservicemart.com/uszip.asmx?WSDL If I run the following command: wsimport -s src -d bin http://www.webservicemart.com/uszip.asmx?WSDL This command produces Java source code in the /src directory and compiled…
Mike
  • 899
  • 9
  • 27
  • 45
0
votes
1 answer

Where does Eclipse save WSDL file?

I use Eclipse and Axis2 for SOAP WS. When we create a WebService from a POJO (bottom-up), where is placed the WSDL file, in Eclipse project? I can get it in browser at /PROJECT/services/WEBSERVICE?wsdl, but I'd like to customize something in it…
Hikari
  • 3,797
  • 12
  • 47
  • 77
0
votes
1 answer

What is the entry point in a CXF generated web service?

Using a contract-first approach, I generated a web service from a WSDL, using CXF. The web service loads fine by Tomcat 7 and responds properly to SOAP messages. But while I understand the auto-generated Java classes from the WSDL and XSD, I am not…
Withheld
  • 4,603
  • 10
  • 45
  • 76
0
votes
1 answer

Can't create client for SOAP 1.1 using axis 1 or axis 2

I have tried to create client with axis both versions , I even tried ws-import but noting is working . U can find WSDL here Problem with axis 2
user1021743
  • 477
  • 4
  • 16
0
votes
1 answer

How to call web service with unknown certificate

I have generated client stub using wsdl2java. I am able to call webservices of HTTP server. But I have HTTPS server with self signed certificate. When I called same service for HTTPS server, its throwing exception : PKIX path building failed:…
prashant
  • 969
  • 3
  • 11
  • 22
0
votes
1 answer

Differnece between these tags in a wsdl file and

I am trying to understand the flow of an application. I have two wsdl files, In one of the WSDL it has the following representation
Venkat
  • 73
  • 3
  • 12
0
votes
1 answer

WSDL2Java code generation and date/dateTime fields

Given the following xsd fragment: I find that WSDL2Java (1.6.2) is producing XMLGregorianCalendar…
user1283068
  • 1,694
  • 4
  • 15
  • 25
0
votes
1 answer

Maven CXF wsdl2java, underscore added in string enumeration before number

I got an issue with CXF. I got the following enumeration in my xsd, which is generated into java : [many more]
Julien C.
  • 946
  • 8
  • 22
0
votes
1 answer

Webservices - Axis2 ClientStub policy error

Trying to invoke a webservice usign the AXIS genereated client stubs . When i run my standalone java program am getting Exception in thread "main" java.lang.NullPointerException at…
user2232290
  • 13
  • 1
  • 6
0
votes
1 answer

Consume service from wsdl file using ksoap2 in java environment

I need your help in order to consume the services of this wsdl file: http://lyrics.wikia.com/server.php?wsdl For example the service "getArtist" with parameter "artist=U2" I developed this java code: public class Constante { public static final…
Aron
  • 1,142
  • 1
  • 14
  • 26
0
votes
1 answer

WebServices ant WSDLToJava with HTTPProxy user and password

Using the ant build file am generating the java classes from the WSDL file. As am behind a firewall teh ant task is complaining unknown host exception. Looking at the docs , i set up the proxy host name and proxy port but not clear on how to set…
user2232290
  • 13
  • 1
  • 6