wsdl

PHP SoapFault not WSDL Schema compliant in soapUI?

Hi all, I came across a strange one today, it goes like this: I'm setting up test suites for QAing a web service of mine, which is written in PHP5 - making use of the class SoapFault among others. I use the class to return error message to the clients. Example: if (!$this->CheckHost(getenv('REMOTE_ADDR'))) { return new SoapFault(...

Flex/AS3 incompletely decoding WSDL XML on one particular operation. How on earth do I remedy this?

I am currently consuming a WSDL in Flex, that is on the back-end served by .NET. ALL of the operations seem to work fine, except one, whose result object is not being properly parsed by AS3 for some odd reason. I have inspected the response XML in Fiddler/Charles and the data is there, but in NOT in the result in the Flex variable inspec...

How do I develop Salesforce API code for a custom object without Enterprise/Unlimited edition?

Background: I'm building a small application that will be run daily, pulling data from our own in-house databases and sending it over to our corporate Salesforce instance. I've built a custom object (called Marqui_Instance) in our Salesforce instance to house the data. The app will be creating a couple hundred of these, and attaching t...

How do I define an array of custom types in WSDL?

I'm very new to WSDL, but what I'm trying to do is very simple. I have gotten a web service working with python's ZSI library, but am stuck defining a service which returns an array of a custom type. In my WSDL I have the following: <xsd:element name="ArtPiece"> <xsd:complexType> <xsd:sequence> <xsd:element name="tit...

Calling a JAVA web service created using Axis from PHP code

Hello, Im trying to call a Java web service created using Axis from PHP code.The webservice is hosted on my LAN. I am able to call the web service successfully using SoapUI. I have the PHP Soap Extension installed. However,im not sure whether my PHP code is correct. Below is my PHP code. <?php $client = new SoapClient('http://machinen...

How to use WSDL2Java generated files?

I generated the .java files using wsdl2java found in axis2-1.5. Now it generated the files in this folder structure: src/net/mycompany/www/services/ The files in the services folder are: SessionIntegrationStub and SessionIntegrationCallbackHandler. I would like to consume the webservice now. I added the net folder to the CLASSPATH env...

How to create Axis Web Service Client for a local WSDL file?

Hi, i have local WSDL file. i tried to create JAX-WS Web service client which is available by default in Netbeans. But there are problems in accessing the service. So i tried to create Axis Web Service client by installing the plugin. But i don't find any way to import the WSDL and access the services available like JAX- WS Style. I ...

Generate random xml / web service response based on xsd / wsdl

I've just seen a case of the same old familiar story - we are trying to integrate to an external 3rd party web service, but the development has been done using a simulated web service. Of course as soon as we integrate with the actual web service we find that our code makes assumptions about the web service response, and so everything f...

An operation can have only one in or out header of a given type?

Situation: I am trying to consume a clients web service for CC authorization. They are not publishing the WSDL file on there site, but they have provided the WSDL file. I am using Visual Studio 2005 and creating a web application that consumes the web service. The only reference to this error that seems to apply is here: http://follow...

AS3 Code generation from a wsdl

As part of a nightly build i want to automate the generation of action script classes like Flex does but in an automated fashion. So I'm looking for an equivalent tool to flex builder 3's Import Web Service functionality, but accesable to a Hudson nightly build using ant. Any idea's on tools to achive this. ...

How do I pass a list parameter as multiple link-named elements instead of as an array in SOAPpy ?

I am trying to pass multiple instances of an element to a web servile that has the following wsdl <complexType name="OAMCommand"> <sequence> <element name="m-strName" type="xsd:string" minOccurs="1" maxOccurs="1"/> <element name="m-argVector" type="xsd:string" minOccurs="0" maxOccurs="unbounded"/> </sequence> </comple...

How to generate a WSDL file from a C# webservice.

I've created a WebService like this: [WebService(Namespace = "http://ns")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class GroupManagerService : WebService { public GroupManagerService() { } [WebMethod] public bool MyMethod(string loginname, string country) { // code here... ...

PHP SoapClient: Problems with Distributed WSDL File

Hello, I have a problem using a distributed WSDL File ( scheme / other definitions are declared outside the actual wsdl) with php's SoapClient. This is the Fault Message I get: SOAP-ERROR: Parsing WSDL: 'getSomeInfo' already defined. After some googling , it seems to be a bug inside php as someone else discovered exactly the same pr...

Is there any tool create php proxy class for web service (wsdl)?

Hi Is there any tool for generating php proxy classes for webservice for php programming language? Web services are developed in .net. ThanksnRk ...

BizTalk Send Flat File to Web Service

Hi I currently have a BizTalk 2006 (r1) application which receives XML from a SQL stored proc using the SQL adapter. It maps this to another schema before sending out to a 3rd party. The send port uses a custom pipeline component which converts the XML to a flat file - in the format required by the customer. I don't use any orchestratio...

Having issue while using soap4r, unable to add namespace, encoding style to soap envelope.

Hi, I am having problems with one of the soap service I'm using. I am using soap4r for consuming the soap service. But somehow they are expecting something else than what I am sending. This is what I'm sending:<?xml version="1.0" encoding="utf-8" ?> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:env="http://schemas....

JAXB Customizations - Multiple schemas inside WSDL and schemaLocation

Hi everybody! I have a WSDL which contains 3 schemas inside it's "types" element. The schemas are not defined in external XSDs but inside the types element. I want to customize an element inside schema number 2 and change it's name to avoid a conflict. So in the schemaLocation how can I do that? Despite making the question I have the ...

WCF Custom SOAP Header Issues

I'm trying to implement an endpoint behavior which injects a custom SOAP header into all messages to and from a service. I've gotten pretty close by implementing the approach from the accepted answer of this question: http://stackoverflow.com/questions/986455/wcf-wsdl-soap-header-on-all-operations/995951#995951 After implementing that...

Hide REST endpoint from MEX/WSDL in WCF

I have a WCF service that has REST and SOAP endpoints for every service. This was implemented similarly to this post: http://stackoverflow.com/questions/186631/rest-soap-endpoints-for-a-wcf-service with a configuration similar to the following: <services> <service name="TestService"> <endpoint address="mex" binding="mexHttpBindin...

/sharedtypes eqivalent for svcutil.exe?

Building an app that is relying on a 3rd party provider who has a very verbose set of SOAP services (we're talking 50+ WSDL files). Each individual WSDL however has numerous shared type declarations. When generating client code with wsdl.exe, there used to be a /sharedtypes flag that would merge duplicate entries if a type was found se...