wsdl

Issues using a Fedex Webservice via WDSL/SOAP

Hi Everyone, I downloaded the sample code to request a rate from fedex's website... i placed the WSDL file in the proper location, I have my acct number, password, meter number, and key. When I run the script I get this error: Error in processing transaction. ERROR prof 1000 Authentication Failed The script they give is as ...

How to create WSDL file given SOAP WSDL operations

I haven't had any experience with web service related development. So, any ideas will be greatly appreciated. Suppose, I have a file listing draft specification of WSDL operations. Following is one example. How would I go about creating the WSDL file. Is notepad sufficient or do I need to have WSDL editor? getHostSystemInfo Return...

The underlying connection was closed when using a WSDL web service

I am trying to consume this WSDL service: Transit Time Service I successfully connect and get a response the first time but on subsequent calls I receive the exception: The underlying connection was closed: A connection that was expected to be kept alive was closed by the server. I overrode the GetWebRequest in the reference.cs file ...

wsdl return an array of complex types

hi, I have defined a web service that will return the data from my mysql data base. I have written the web service in php. Now I have defined a complex type as follows: $server->wsdl->addComplexType( 'Category', 'complexType', 'struct', 'all', '', array( 'category_parent_id' => array('name' => 'category_parent_id', 'type' => 'xsd...

role-based methods for one web service?

I am trying to set up a (for now) really simple web service. By simple, I mean it only has a small amount of actual work to do on the code-side. It only really has one method/function: the client sends a user login, and the service responds with an otherwise very secure detail about the user (for the purposes of this question, let's say ...

Tool for reinforcing Xml, Xsd and Wsdl Naming convention

Hello, In java we have a wonderful tool name CheckStyle that reinforce all our corporate naming convention. Wonderful tool. I would like to do the same with our XSD and WSDL. Is there any tools that I could use to reinforce and make sure all coder/analyst will respect convention like: all Operation must start with getXX of setXX o...

how to get parameter names of a method/operation from a wsdl file

I'm trying to develop a form generator from a given wsdl file in java. Here is a post about the project: http://stackoverflow.com/questions/1972110/java-form-generator-from-a-given-wsdl-file I could read operation names from wsdl file, and their bindings, but I need to get the parameters or arguments of a given operation from the wsdl ...

pass in a numbers with a maximum size of 2^256 through a wsdl

We have currently a wsdl element that was defined as long since the number that was being passed could have a maximun value of 2^64.But now the client wants to pass in numbers with maximum values of 2^256 .In my view the only way to support this is to change the xsd type to String.Anybody has a better idea about dealing with it . Also t...

What is the WSDL declaration for an array of integers?

The SOAP specs are confusing, numerous, and available in multiple versions, and my soap library's WSDL generator is buggy. What's the correct WSDL for an array of integers? Could it be: <element name="ArrayOfIntegers"> <complexType base="SOAP-ENC:Array"> <element name="integer" type="xsd:integer" maxOccurs="unbounded"/> </comple...

Advantages of Name Value Pairs to SOAP/WSDL

I see APIs such as PayPal, etc. offering to call their services using NVP or SOAP/WSDL. When using a .NET environment (3.5) using traditional web services (no WCF) which is better and why? I know WSDL lets you drop in the API URL and it generates the wrappers for you. So then why do companies even offer NVP? ...

WSDL.exe generated client gives: Unhandled Exception: System.InvalidOperationException: There is an error in XML document (...)

I have a WebService that returns complex objects. public class Resource; public class Asset extends Resource; public class Collection extends Resource; The methods that return the subclasses work fine: Asset[] getAssets(); Collection[] getCollections(); However the methods that return the base class are generating an exception...

removing fields from SOAP response

hello, i am using axis (version 1 JAX-RPC) within tomcat5.X. i generated using eclipse-axis integration my wsdl file and it is ok. now i want to customize the SOAP Response by not returning one of my class fields. (lets say i have 2 fields\datamembers in class but i want to return just 1 in XML SOAP answer) i know that by removing the Se...

How to generate WSDL from class (not webservice)

I'm working on my diploma thesis based on multi agent systems and I need to generate WSDL from ontology (i.e. from class that is not webservice, no [WebService] or [ServiceContract] annotation). Information that I have: List of classes that represents operations (I can't change them) How to generate own WSDL without stuff like a cl...

Create MockService in soapUI without wsdl

Is it somehow possible to create mock service in soapUI without having wsdl file? All I have is sample request and responses. I think that should be possible to generate WSDL from request and response examples with soapUI but I'm not able to find any tutorials about it. ...

Exposing only the interface in WSDL in WCF, rather then the service.

I have a service contract ICalc, and I want to expose a WSDL through the MEX endpoint, which will only describe the ICalc contract, i.e. will contain only the portType element, without the service element. Is there a way to do that in WCF? ...

Impossible to yield classes from wsdl file made with contents of URL, but works with original wsdl file

Hi, I'm having extremely painful difficulties to have wsimport working to generate my client classes, as per the following method: 1/ I open my endpoint/URL in a web browser, 2/ I copy-paste the contents of this page in a .wsdl file, 3/ and I try to yield the classes by running wsimport against the file I've just created => it fails. ...

RPC/Encoded Jboss problem

Hi there, I'm running jboss-4.2.1.GA to generate WS requests. I have created the WS client with the help of JWSDP-2.0/JAXRPC. I have deployed the client to Jboss and I am now trying to send requests. When I try to initialise the client service: javax.xml.rpc.Service service = servicefactory.createService(new URL(wsdlURL), serviceQN), J...

Creating a web-service client with a known but inaccessible wsdl

We have been provided with a wsdl and xsd schema by a company we are working with via email. The web-services we are interfacing with are accessed through a IPsec tunnel. There are local references(on their end) in the published WSDL which means we cannot consume it. 1st question: Is this a common setup? I thought the point of having a ...

WCF hosting: Can access svc file but cannot go to wsdl link

Hello, I have a WCF service that is hosted in IIS 7.5. I have two servers, one for test and one for production. The service works fine on test server, but on the production server I have the following error. When I access the address http//..../service.svc I can see the default page that says: You have created a service. To test t...

Inline complex types XSD into a WSDL

I'm currently implementing a web service with a few complex types in java using plain JDK and the integrated web server. Is it possible to tell the JDK to inline the generated XSD for complex types into the WSDL instead of referencing to it via xsd:import? Thank you in advance! ...