I have been helplessly trying to create a web service in PHP using NuSoap for the past 2 days. However, after endlessly sifting through various tutorials and guides, i am still stuck with 10 lines of code that refuse to work.
Server :
// Pull in the NuSOAP code
require_once('./lib/nusoap.php');
// Create the server instance
$server = ...
I am trying to figure out a way to consume a WCF service I have (wsdl) from Coldfusion. I need to pass values in the request header. I can't seem to find any good examples anywhere. Anyone?
...
I'm using Axis2 WSDL2Java, and there appears to be no validate option flag for validating a WSDL before generating the stub. However, my stub generation is failing, and I'm pretty sure it is an issue with a malformed WSDL. The error we get is "can't serialize the policy", which after some research tends to lean toward an invalid WSDL. Ar...
I am going to have to interoperate with some WCF classes from an ASP.NET 2.0 web application. What tools exist that I can use to generate a proxy class that is compatible with classic XML Web Services? AFAIK, the WCF endpoints are using the basic HTTPS binding.
Thanks,
Matthew
...
I have a WSDL that the consumer of my web service expects will be adhered to strictly. I converted it into an interface with wsdl.exe and had my web service implement it. Except for this problem, I have been generally pleased with the results.
A simple GetCurrentTime method will have the following response class generated from the WSD...
Hello everybody!
I know that WSDL is for defining SOAP based web services but in most of the WSDLs I saw on net, in the WSDL is defined also RESTful "web service"-http:binding.
To generate client for the SOAP I used wsimport tool from JAX-WS (it also generates client classes for the REST but it doesnt work).
So the question is, how to...
One of our vendors provides a web service API to allow their customers to validate data in a database. As part of their SDK, they provide a WSDL (Web Service Definition Language) file that, according to their documentation, can "be read by software applications and application development tools. An application tool such as Microsoft's ...
I have my script email me when there is a problem creating a recurring transaction with authorize.net. I received the following at 5:23AM Pacific time:
SOAP-ERROR: Parsing
WSDL: Couldn't load from 'https://api.authorize.net/soap/v1/service.asmx?wsdl' :
failed to load external entity "https://api.authorize.net/soap/v1/service.asmx?wsdl"
...
I am trying to write a snippet of PHP to connect to a third party's API via SOAP to enter some data into their database. The API requires me to pass several mandatory fields for every call (username, password, companyid, entitytype) in addition to the mandatory data fields. It also requires me to call the "ValidateEntity" funciton befo...
I have a .net application which needs to expose a service consumed by a java client. The service can't be public. There should be some authentication mechanism for the client. What is the best way to do this? I'm new to web services and am confused by all the soap, wsdl etc. and have also heard a lot that it'll be a pain to get the two t...
I wrote a .asmx web service which I'm trying to consume from a java client. I'm using axis2's wsdl2java to generate code. But it says that the wsdl is invalid. What exactly is the problem here? It is .net which generated the wsdl automatically after all. Are there problems with wsdl standards, rather the lack of them? What can I do now?
...
I would like to create a reusable interface to transfer some proprietary information over the TCP/IP connection. If given only the choice of either Web Services or distributing a pre-compiled Assembly, what are the pros and cons of using each? This is assuming that Windows OS is used.
...
Is it possible to call WSDL (bacikHTTPbinding) method just by calling some url from browser?
...
I'm working on some legacy code, and I need an asmx to implement a particular wsdl, which is being provided to me.
I would like to receive the root element of the message as either an XmlDocument or XmlNode, rather than the wsdl.exe generated object graph. Is this even possible?
...
Do we have to send username/password along with the SOAP message ?
In that case, my database server will have to run a query every time to authenticate.
Is there a method for token based authentication ? It would be really helpful if someone could point me in the right direction.
...
Hi,
should it be possible to tag DataContracts, DataMembers, ServiceContracts and OperationContracts with a Description attribute, (System.ComponentModel.DescriptionAttribute) so that those descriptions appear in the WSDL to aid the developer or so an automatic documentation generation tool like TechWriter can use them in the documentati...
I am using IBM's Rational Application Developer. I have an ant script that contains the Java2WSDL task. When I run it via IBM, it gives compiler errors unless I include the j2ee.jar file in the classpath via the run tool (it does not pick up the jar files in the classpath in the script). However, I need to be able to call this script pro...
As far as i can see, i have the option of creating web services and WSDL file in Galileo.
Also, Looking here there is the Eclipse WSDL viewer : http://wiki.eclipse.org/index.php/Introduction_to_the_WSDL_Editor
How can i open a WSDL file in Eclipse ? If i just browse and open the file, nothing happens.
Someone please help, this is real...
when we receive a SOAP message,
then we Resolve it,
then we have a TEXT like:
1
how can i validate the para: xx .
to check it's value is accord to the WSDL of the web service
...
So, our application needs support for dynamically calling web services which are unknown at compile time. The user should therefore be able to specify a URL to a WSDL, and specify some data bindings for the request and reply parameters.
When Googling for answers, it seems like the way to do this is by actually compiling a web service pr...