I have a RPC encoded PHP webservice that returns a simple soap envelope with a boolean datatype. When doing the trace on the client side, the soap envelope looks like this right before it goes into the WCF proxy:
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoa...
Hello,
My question is needed for some basic understanding off webservices and more specificly
in conjunction with php
I would like to know, if it is neccasary to have a wsdl file for the creation off a webservice or is that just something that is usefull to third party's that want to access the webservice?
Also, it's generated automati...
Spring-WS generates WSDL without operations in binding tag... Do you know why?
There is my spring-ws-service.xml:
<import resource="classpath*:application-context.xml" />
<!-- Register PayloadRootAnnotationMethodEndpointMapping -->
<bean class="org.springframework.ws.server.endpoint.mapping.PayloadRootAnnotationMethodEndpo...
I' building an ASP.NET web service.
I've got my code defined as below, but I can't figure out how to the the wsdl to specify the minOccurs of the FirstName and LastName properties. I want those as required, and can not be empty. Is it possible?
[WebMethod()]
public void TestMethod(TestClass Test)
{
...
}
[Serializable]
public ...
Hi,
Has anybody worked on wsdl testing? Namely,
Schema validation
Semantic validation
Regression testing of WSDL
Interoperability
Does anybody have an idea of how to implement the above?
...
I need to prototype a very simple system which sends a request to a remote web service, which will then callback on my own web service once it's finished processing. Unfortunately, I have to implement their WSDL for the callback.
Is there a nice simple way of generating a JBoss application which will correctly implement the WSDL, and ru...
I tried to turn off importing documents in WSDL4J (1.6.2) in the way suggested
by the API documentation:
wsdlReader.setFeature("javax.wsdl.importDocuments", false);
In fact, it stops importing XML schema files declared with wsdl:import tag, but does stop importing files declared with xs:import tags.
The following code snippet [see ...
I understand it makes sense to exposes the same functionality (interface in WSDL 1.2, portType in WSDL 1.1) under different endpoints (ports in WSDL 1.1), depending on underlying transport protocol (definined by the binding). But what is the sense to put definitions of different services into a single WSDL? Especially, if each service ex...
I have a class property that is automatically generated by a framework with its appropriate XmlElement attribute. I inherit this class and expose it as a parameter on a webservice, for which a WSDL is auto-magically generated.
I need to replace said property's XmlElement attribute with my own, and have the WSDL generate using my new at...
I try to transform a WSDL 1.1 to WSDL 2.0 using the XSLT 2.0 stylesheet from W3.org WSDL 1.1 to WSDL 2.0 convertor.
I'm working in .NET (C#) using the XslCompiledTransform.
Anyone has an idea why I get the "resolve-QName() is an unknown XSLT function" exception ?
Any workarounds ?
Thx
...
In WSDL file a function can return a Type or an Element. I have used only custom types as a results so far. However, I wonder when the Element should be more appropriate then the Type? What is the difference between them?
Is there any difference between
<wsdl:message name="MyFunction">
<wsdl:part name="parameters" element="tns:Pers...
I have a WSDL that I need to generate a ServiceContract (OperationContract, DataContract)...
I have found a way to do it for ASMX WebServices but can't seem to find how to do it in WCF.
I have tried running
svcutil AuthPartnerWSDL.wsdl /i /messagecontract /tcv:version35
but the resulting interface doesn't deserialize the call comin...
I'm relatively new to Soap on the "creating the service side", so appologies in advance for any terminology I'm munging.
Is it possible to return a PHP array from a Remote Procedure Soap Service that's been setup using PHP's SoapServer Class?
I have a WSDL (built by blindly following a tutorial) that, in part, looks something like this...
In Java EE 1.4 using JAX-RPC 1.1, how can i expose web service, so the wsdl has a complex type (person) where one of the properties of the person is a date which is shown in the WSDL/XSD as only a date (such as a birthdate) instead of a dateTime (where the time is not wanted) in the WSDL/XSD?
i would like the xsd referenced in the wsdl ...
I have a web service that returns following type:
<xsd:complexType name="TaggerResponse">
<xsd:sequence>
<xsd:element name="msg" type="xsd:string"></xsd:element>
</xsd:sequence>
<xsd:attribute name="status" type="tns:Status"></xsd:attribute>
</xsd:complexType>
The type contains one element (msg) and one attribute (sta...
I was testing a web service in PHP and Python. The address of the web service was, let's say, http://my.domain.com/my/webservice. When I tested the web service in PHP using that URL everything worked fine. But, when I used the same location but in Python using SOAPpy I got an error.
Below is the code I used to communicate with the web s...
We currently have a group of web-services exposing interfaces to a variety of different client types and roles.
Background:
The web-service application code is (and will stay) written in a weakly typed dynamic language.
Authentication is handled seperately, this post is about Authorisation.
All operations exposed by the web-services ...
I'm having an issue trying to access a web service through Delphi. I've consumed a java WSDL with the 2007 version of the WSDLimp tool and it looks like it's created all of the objects correctly. When I make a tester program however that calls the service every object is empty. If I dump the SOAPResponse object in the HTTPRIOAfterExecu...
I've got a WSDL file created in Altova XMLSpy, that is then used in Altova Mapforce to map out a service. This is then used to create a .NET service (asmx).
The problem is the way Altova Mapforce generates the service webmethod. Instead of the interface created in the WSDL you get a generic webmethod that takes a parameter of type arr...
Could you suggest a proven on-line WSDL validation tool? I am looking for a validator this is as strict to the WSDL standard as possible.
...