wsdl

WCF wsdl wsdl:import location,soap:address location are having machine name?

Hi We developed web service using WCF service and hosted on Windows 2003 server machine with IIS 5.1. WCF hosted on basicHttpBinding. when try to access wsdl of service "*.svc?wsdl" it generating wrong wsdl, that wsdl cannot be used java and php clients. when I check the wsdl in <wsdl:import namespace="xxxxx" location="http://machine ...

Web Service contract without implementation specific information

I have to define a web service contract that afterwards will be used by different software suppliers to implement their servers and clients. I tried to do it defining classes, making a WCF service and using it to autogenerate WSDL document. The problem with this approach is that inside WSDL there are some specifics concerning binding an...

soap in objective c

how can i handle wsdl in objective c? maybe manual parsing of xml? any tutorial? ...

WCF Difference in two URLs that point to the WSDL

URL in browser: http://localhost:12345/FRB.EC.BMI.WebSvc/Datafaction.svc shows this: You have created a service. To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax: svcutil.exe http://sfbztkdev01v.biztalkde...

Axis2 WebService and multiple ExceptionFault elements in WSDL

Hi! I am not AXIS2 expert, therefore I am using Eclipse to generate bottom - up webservice. I am publishing 2 methods as webservices. These methods are defined to throw java.lang.Exception in order to produce SOAPFault when calling webservice that ends with exception. public class sample { public String someMethod() throws Exception ...

wsdl2py requests

I'm trying to get results from a SOAP service called Chrome ADS (for vehicle data). They provided php and Java samples, but I need python (our site is in Django). My question is: What should I be passing as a request to the SOAP service when using wsdl2py-generated classes? Following the examples I'm using a DataVersionsRequest object ...

Consuming PHP webservice method with a boolean return value with .NET

I have a PHP SOAP (NuSOAP) web service method that returns a boolean value. I've executed the method in a 3rd party test application, and it seems to return the value fine. If I look directly at the XML message that's returned, it looks fine as well - returns "true" and "false" when it's supposed to. However, when I write a sample appli...

wsdl2py ComplexTypes

How do I add complex types to a SOAP request? I'm using WSDL2py generated requests, and trying to use the other TypeDefinitions that it made in the *_types.py file (like AccountInfo, for authentication, that goes into every request). Then passing it the wsdl2py generated server, and I'm getting this error: >>> from AutomotiveDescriptio...

Can you help me solve this SUDS/SOAP issue?

So I'm trying to access this api https://www.clarityaccounting.com/api-docs/ using SUDS. Here is the code that should work: from suds.client import Client client = Client('https://www.clarityaccounting.com/api/v1?wsdl') token = client.service.doLogin('demo', 'demo', 'www.kashoo.com', 'en_US', 300000) But I get this error: WebFault: ...

cannot send parameters from java client

Hi. I am developing a java client for a web service. I have this method in my web service: @WebMethod(operationName = "test") public Integer test(@WebParam(name = "number") int number) { return number; } My client looks like this public static void main(String[] args) { try { String BODY_NAMESPACE_VALUE = /namespace url/; QName ...

Any hints on the xsd bloat created by a WCF web service reference in a Silverlight 3 project?

I've a Silverlight 3 based project, talking with a DB via a WCF web service. So far, so good. I'm growing more and more concerned about the sheer number of xsd and wsdl files generated in the servicereference subfolder. The increasing numbers seems to be a kind of versioning, but I'm not sure... Do you know what is it for? It seems no...

Using Records with Delphi web services

I'm trying to use records with web services application in Delphi 32, the records defined as TMyRec = record Val1:integer; Val2:string; end; TMyClass = class(TRemotable) private fMyRec:TMyRec; published property MyRec:TMyRec read fMyRec write fMyRec; end; ITMyService = interface(IInvokable) ['{6283B8DA-C567-4814-906E-32172...

accessing wsdl on Tomcat

Hi, I have a web service and I was deploying it on GlassFish. I accessed its wsdl through http://localhost:10697/APIService/APIServiceService?wsdl. Now I ported the WAR file to a Tomcat 6.0.24 and it is deployed. However I am trying to access its wsdl using http://localhost:8080/APIService/APIServiceService?wsdl but I'm getting a 404 ...

Ignoring container elements through JAXB customization.

Hi all I am struggling with a simple JAXB customization issue. I have an schema like this. (its actually a snippet of Bing Maps Web Services schema) <xs:complexType name="GeocodeOptions"> <xs:sequence> <xs:element minOccurs="0" name="Count" nillable="true" type="xs:int" /> <xs:element minOccurs="0" name="Filters" nillable="tr...

PHP Soap strange handling of complex type

Hi all, I'm running a php5 based web service which contains the following complex type among others: <xsd:complexType name="FrequencyList"> <xsd:sequence> <xsd:element name="F" type="xsd:float" minOccurs="0" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> Note: F reads Frequencies, I've just chopped it for readability...

Validate XML instance document against WSDL

Hi, I can easily validate a XML document against a XML Schema, eg. with XMLSpy or programmatically. Is it possible to do this with a WSDL file? It does not seem possible with XMLSpy or any other XML tool I know. For me the only possibility right now is to do it programmatically, eg. by generating Java code from the WSDL and starting a ...

What version of WSDL is supported in dotNet 2.0?

What version of WSDL is supported in dotNet 2.0? ...

WCF: WSDL-first approach: Problems with generating fault types

Hi, I'm currently in the process of creating a WCF webservice which should be compatible with WS-I Basic Profile 1.1. I'm using a wsdl-first approach (actually for the first time), defining first the xsd for the complex types, the WSDL and then using svcutil.exe for generating the according server as well as client-side interfaces/proxi...

wsimport "Cannot resolve the name..."

Hi all, I've been trying to import the following web service: http://soap.genome.jp/KEGG.wsdl with ${JAVA_HOME}/bin/wsimport: wsimport -version JAX-WS RI 2.1.6 in JDK 6 but I got the following error: parsing WSDL... [WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component. line 19 of http:...

How can I make Ruby’s SOAP::WSDLDriverFactory work with self signed certificates?

This post is somewhat similar to this other post: http://stackoverflow.com/questions/128660/how-can-i-make-rubys-soaprpcdriver-work-with-self-signed-certificates except I'm using WSDLDriverFactory: @loginWsdlUrl = 'https://localhost:9843/services/LoginService?wsdl' loginClient = SOAP::WSDLDriverFactory.new(@loginWsdlUrl) loginClient.o...