Questions tagged [wsdl2code]

38 questions
20
votes
4 answers

axis2 maven example

I try to use axis2 (1.5.1) version to generate java codes from wsdl files, but I can't figure out what is the correct pom.xml org.apache.axis2
Larry Cai
  • 55,923
  • 34
  • 110
  • 156
16
votes
2 answers

Using multiple WSDLs with Axis2 wsdl2code Maven plugin

I'm creating a client with Maven2 that uses several web services. I'm restricted to using Axis2 or other framework supporting Apache HttpClient as an HTTP conduit because these services require integration with a managed certificate solution based…
David J. Liszewski
  • 10,959
  • 6
  • 44
  • 57
5
votes
2 answers

How to set -Euwc param with axis2-wsdl2code-maven-plugin?

We are using axis2 to generate web-service clients, (I regret this now!). With axis2 command-line tool you can pass switch -Euwc to wrap int into Integer, boolean into Boolean and so on in generated soruces. This is the one way to tell axis2 that…
TMan
  • 422
  • 1
  • 3
  • 13
5
votes
5 answers

WSDL2Code (Maven) auto-generates corrupt classes (packages)

I am currently in the process of replacing the IBM WebService framework with Axis2. When generating the code from the WSDL file, I use the Maven plugin WSDL2Code. However, the code created is always wrong. Or rather, the packagenames are always…
Morten Tangen Zahlquist
4
votes
0 answers

Webservice from WSDL using Eclipse

I have a WSDL file and I would like to create a webservice from that using Java ("Contract first approach"). I used the WSImport-Tool from JAX-WS (Java version 1.6.0_07) on the command line to generate Java-code stubs. This worked fine and I…
Peter
  • 1,786
  • 4
  • 21
  • 40
3
votes
1 answer

OutofMemory parsing SOAP using wsdl2code

I have generated a Soap client from wsdl2code , that used XMLPullParser to parse the response. I am getting a 30 Mb file as response, and OutofMemory exception while parsing. What is a best way to avoid this exception, I have already downloaded the…
Nibha Jain
  • 7,742
  • 11
  • 47
  • 71
3
votes
2 answers

Generate PHP code from WSDL (for service replacement)

We have few Web Services witch now are handled by an external application, and we plan to replace them as an new own implementation. Is there some tool/class witch will generate stock php interface and structures 100% compatible with those WSDL's we…
canni
  • 5,737
  • 9
  • 46
  • 68
3
votes
4 answers

Code generation from WSDL using XML Catalog

Is there any tool for generating Java code from WSDL using XML Catalogs? The problem is that I have wsdl files that import XML schemas which also import other schemas and the schemas are not available at schemaLocation url. That is why code…
Peter Miklos
  • 76
  • 1
  • 4
2
votes
1 answer

Generating WSDL files

I want to implement a WSDL service. To generate its codes, I use from different tools. When I use SoapUI, the generated file's method is as below: *******************************************************
2
votes
2 answers

WSDL consume - What tool to use?

I'm having trouble understanding how to make a web service client. The story is that I need to make a call to a web service. As I then understand it I need to somehow consume the web service to get the correct classes of the web service. I've…
user373455
  • 12,675
  • 4
  • 32
  • 46
2
votes
2 answers

Connecting webservice via WSDL using wsdl2code throws java.net.MalformedURLException: Protocol not found:

This is not duplicated a question. I tried using ksoap2-android. its working without any issue. It happens only on code generated by WSDL2Code @ http://www.wsdl2code.com. I tried many…
Maher Abuthraa
  • 17,493
  • 11
  • 81
  • 103
2
votes
1 answer

How to use Axis2 WSDL2Code Plugin to Generate Client with Username Token Poliy

I am newer to maven but have been using SOAP services and Axis2 for awhile. As mentioned, I am trying to use axis2-wsdl2code-maven-plugin to generate code from a 3rd party wsdl. The code generation is working for the most part. I see the expected…
MonomiDev
  • 301
  • 2
  • 8
2
votes
2 answers

Using Soap Web Services in iPhone with wsdl2objc?

I do realize this is a duplicate question, however the only other question is quite old, so I would like to know if anyone has had any recent experience with the latest version of wsdl2objc. I am doing an application that will communicate with SOAP…
Oscar Gomez
  • 18,436
  • 13
  • 85
  • 118
2
votes
0 answers

JAR the generated files from a WSDL ( after wsdl2code )

Our project consumes multiple Web Services We have a project in which we would have a axis2-wsdl2code-maven-plugin or any similar plugin and perform the wsdl2code part Our requirement is that we have to jar the generated files for a WSDL ( after…
Jeenson Ephraim
  • 551
  • 2
  • 9
  • 24
1
vote
1 answer

axis2-wsdl2code-maven-plugin wsdl File in other Artifact

Given Dependency A with WSDL File a.wsdl under src/main/resources/wsdl I'd like to include it in Dependency B which has a compile dependency to A to generate the Axis Classes with org.apache.axis2
Martin Dürrmeier
  • 1,653
  • 5
  • 18
  • 35
1
2 3