how do I catch my custom soap fault ProductoInexistente when requesting a soap web service operation? my code is the following, but it's not working:
$_WSDL_URI = 'http://joaquinlrobles.redirectme.net:8080/Pelopincho/PelopinchoService?WSDL';
$ws = new Zend_Soap_Client($_WSDL_URI, array('soap_version' => SOAP_1_1));
try {
$resultado = $...
Delphi 2009 imported the UPS WSDL without any errors, and I managed to invoke the web service with my account information and an example parcel ID. The response from the server is:
<detail>
<err:Errors xmlns:err="http://www.ups.com/XMLSchema/XOLTWS/Error/v1.1">
<err:ErrorDetail>
<err:Severity>Hard</err:Severity>
<er...
Hello,
I have the following XML as part of my WSDL.
<schema targetNamespace="http://compservice.com" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://bean.compiere.org"/>
<import namespace="http://xml.apache.org/xml-soap"/>
<import namespace="http://schemas.xmlsoap.org/soap/encoding/" schemaLocati...
I am programming a simple proxy in java:
Read XML File
Send request to Web-Service
Read Web-Service response
Write response to file
My first attempt is using JAXB to read the xml-file and generating Java-Objects.
Then I send the objects with JAX-WS (IBM WebSphere).
I receive the response as a "ResponseObject" which is then genera...
Hi all,
I wish to add compression to the WCF based web service to reduce the payload and increase throughput. But the issue is that I consume the service from a c/linux application using gSOAP. I know gSOAP allows compression, but I am not sure if gSOAP and WCF based web service can talk to each other with compression on.
Please put fo...
Using NetBeans 6.8 I managed to write a JAX-WS Web Service client for a service which runs in the Internet.
Within NetBeans, communication through the HTTP firewall works fine.
Now I tried to run the client in a Servlet in JBoss 4.2.3.GA, here the request fails with the message:
HTTP transport error: java.net.UnknownHostException: www...
Hi all,
I'm new with WCF and I've deployed a web site with IIS7 that have 2 .svc files.
On each svc files, there a service with some methods available through the interface.
What I would like is to know how many times each method is called and who calls each method. I would like if possible to have my custom monitoring then I can for e...
I would like to write a WS-Policy stating that there are two ways for delivering a hypothetical service: one requiring less bandwidth (first RMAssertion) and one requiring more bandwith (second RMAssertion).
One of the two MUST be chosen (hence the ExactlyOne).
Did I express it correctly?
<wsp:Policy
xmlns:wsp="http://www.w3.org/ns/w...
I have a schema with something along the lines of
<xs:element ref="Item" minOccurs="0" maxOccurs="unbounded" />
and it is referenced in my wsdl. When I use wsimport to create java code, the class gets a field called
List<Item> item;
Is there a way to get it to name the field something more standard like items or itemList?
I don't...
I need a webservice that will return the country location given an IP address. I only have two requirements:
It must be able to take thousands for requests per second.
It must be a service where I don't have maintain the data.
I know there are very similar questions here on SO, but most of the stuff people reference violates at least...
Consider, for example:
public interface IStaff
{
FullName name { get; set; }
EMailAddress email_address { get; set; }
SocialInsuranceId ssn { get; set; }
PositiveInt age { get; set; }
Address home_address { get; set; }
}
For some users, the viewmodel will only require name and email_address.
Others may have a view...
We are looking at redoing some web service applications (currently in prototype phase) from WCF/C# to a C++ cross platform web service framework. So, I'm looking at Axis2/C or WSO2 WSF/C++ as possible frameworks. I'd really like to port the functionality already written in the WCF service to the other service frameworks.
Here's the fu...
Hello,
Im trying to create a simple web service using Axis 1.4 and Tomcat in Java. I have setup Axis 1.4, by adding the Axis jars to my CLASSPATH, also i have set AXIS_HOME.
In my project folder i have two subfolders, src and classes.
In src\org\test\wssample, i have SimpleCalculator.java,defined as
package org.test.wssample;
public c...
Hey all,
I am attempting to convert a http webservice to https. I added the tags to the webservice.
@SecurityDomain(value = "jboss-ssl")
and
@WebContext(contextRoot="/path/one", // already here
urlPattern="/X", // already here
authMethod = "CLIENT-CERT", // added
transportGuarantee = "CONFIDENTIAL") // added
But wh...
In most of our webapps, we use a three-tier architecture: Controllers/ViewHelpers, Service, and DAO layers. However, some of these items a pretty much boilerplate code. Case in point: most apps database schemas have their own Department table (call it T_DEPARTMENT), and on the code side this requires a Model Class for Department, a Depar...
We are building a web-application and a significant portion of the project will be making real time calls from our servlets to some back end webservices. Some of these calls will be cached depending on the context. We will also have a reqiurement to handle incoming double byte character strings for languages such as Hebrew and CJK.
...
Hi,
I did a bit of research on the topic, but haven't found the "it" book.
Do you have recommendations for books on developing web services? Ideally it explains from the beginning, thought process, development process, maintaining the service, tracking, optimization, and so on. Basically it would guide me through developing web servic...
Importing NetSuite WSDL into Delphi-7 results in errors:
// The following types, referred to in the WSDL document are not being represented
// in this file. They are either aliases[@] of other types represented or were referred
// to but never[!] declared in the document. The types from the latter category
// typically map to p...
I would like to build an overview/map of as many of our applications dependencies as possible. Analyzing .NET application dependencies is fairly easy using tools such as NDepend (which I love!). But when it comes to external dependencies, such as databases and webservices, I need something better, and preferably something that can be aut...
Has anyone had trouble with response of JIRA's createIssue method?
The problem is, that method returns empty attachmentName node:
<attachmentNames soapenc:arrayType="soapenc:string[0]" xsi:type="soapenc:Array"/>
which is actually ok, but then the deserialization to the RemorteIssue object fails with:
Error in call to JiraService, met...