Questions tagged [wsdl4j]

The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL documents

https://sourceforge.net/projects/wsdl4j/files/WSDL4J/

18 questions
11
votes
1 answer

Why should we use WSDL4j for developing webservices?

I need to develop Webservice Application for our Client . I dont know anything about WSDL4J From the net I found this "The Web Services Description Language for Java Toolkit (WSDL4J) allows the creation, representation, and manipulation of WSDL…
user663724
10
votes
1 answer

difference between axis-wsdl4j and wsdl4j

what is the difference between the following libraries? I briefly compared the downloaded class binaries and they look the same. But why…
vishr
  • 985
  • 10
  • 28
6
votes
2 answers

Reading XSD from URL using Java

Objective : I want to read a WSDL and print the services in the WSDL, complex types and Complex type definitions. Worked : I've used WSDL4J for reading WSDL and successfully able to print the services and their parameters (complex types). Now I want…
Anandhakrishnan
  • 548
  • 2
  • 7
  • 21
3
votes
1 answer

nullpointerexception while parsing wsdl using wsdl4j for listing of operations, input/output parameters

The code is working for a wsdl with only single operation but for wsdl with multiple operation tags, it is giving a nullpointer exception. Exception in thread "main" java.lang.NullPointerException at project.Project.listInputs(Project.java:78) at…
karthikbv
  • 183
  • 1
  • 4
  • 13
2
votes
2 answers

Validating XML against multiple schemas extracted from WSDL

I'm trying to manually handle a Web Service request using SAAJ, but still validate the received request against the schema of the WSDL for the web service. This particular WSDL contains multiple elements, which I extract using wsdl4j, and when I…
Maarten Boekhold
  • 867
  • 11
  • 21
1
vote
1 answer

How to convert rpc/literal wsdl to document/literal automatically

Is there some tool available or code or library to convert rpc/literal wsdl to document/literal style
1
vote
0 answers

Advantages of using WSDL4j over DOM api

For WSDL handling, we can use org.w3c.dom api. We can parse the WSDL as an XML and navigate through different nodes and create different elements. Then what is the advantage of WSDL4j that it is preferred over DOM api for web services construction?
Manisha Nagpal
  • 163
  • 1
  • 1
  • 10
1
vote
1 answer

What java library to extract message content from a WSDL?

I have to extract the content of the messages of a WSDL to build a view in excel sheet of the hierarchy of blocks and data fields. My objective is to have one line per block or field with the name, datatype, restrictions, mandatory or not, etc... To…
1
vote
1 answer

How to read a secured wsdl using wsld4j

I have a wsdl stored in a place which protected with HTTP BasicAuth. I try to read the wsdl from that as mentioned below[1]; But im getting following error "faultCode=OTHER_ERROR: Unable to resolve imported document" The full error stack is…
Ratha
  • 9,434
  • 17
  • 85
  • 163
1
vote
1 answer

How to parse complextype in WSDL to get basic elements in it in Java?

I have parsed wsdl files with the help of WSDL4J, JDOM and Castor libraries. Now, I can get the complex types but still can not access the elements in its sequence.
perloc
  • 101
  • 1
  • 10
0
votes
0 answers

Adding one part into another part in WSDL4J

I am generating WSDL dynamically using WSDL4J and I am able to create a WSDL file, but I want a nested structure (I mean, I want to declare a complex element and add it into the message). So I want to add the TestService element into the…
MayurW
  • 19
  • 3
0
votes
1 answer

WSDL creating parsing Error

I am trying to expose SOAP web service. For this I am using apache camel. So I have to use apache CXF to expose SOAP web service. But I am getting below error. org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 223; The value of the…
sdindiver
  • 491
  • 1
  • 5
  • 19
0
votes
1 answer

Nested Schemas in WSDL

I have nested schemas imported in a WSDL file, I need to extract the Schema names but I am able to do it only till one level, not the nested schemas.Please help Map mp = new HashMap(); for( Object o :…
user2176576
  • 734
  • 3
  • 14
  • 39
0
votes
1 answer

Does wsdl4J supports to resolve HTTP bindings?

My wsdl contains SOAP11,SOAP12 and HTTP bindings. When i try to retrieve the Address Location from the HTTPBinding, my sample code block throws error ."Unsupported wsdl errors!" (i used wsdl4j to read the wsdl) My sample code to retrieve…
Ratha
  • 9,434
  • 17
  • 85
  • 163
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
1
2