473,387 Members | 1,942 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

fault element in operation but not in binding

Hi All,

I have a portType such as this:

<portType name="CMLeJobSoapGetEmpBrand">
<operation name="EJobGetEmpBrand">
<input message="tns:EJobEmpBrdReq" name="EJobEmpBrdReq"/>
<output message="tns:EJobGetEmpBrdRes" name="EJobGetEmpBrdRes"/>
<fault message="tns:Fault" name="Fault"/>
</operation>
</portType>

and a binding to match it:

<binding name="MS_ALPHA_EJOB_PRJHTTP_SOAP_Binding_GetEmpBra nd"
type="tns:CMLeJobSoapGetEmpBrand">
<soap:binding style="document"
transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="EJobGetEmpBrand">
<soap:operation style="document" soapAction=""/>
<input name="EJobEmpBrdReq">
<soap:body encodingStyle=""
parts="EJobEmpBrdReqBody" use="literal"/>
</input>
<output name="EJobGetEmpBrdRes">
<soap:body encodingStyle=""
parts="EJobGetEmpBrdResBody" use="literal"/>
</output>
</operation>
</binding>

My question is this: the operation in the portType defines a fault
message which is not mirrored in the binding element. Does this matter?
Could this mean that if a parser found a fault message it wouldn't
expect it - and thus find itself in error?

My problem is that my Java parser is throwing an exception:
java.lang.Exception: WSWS3379E: Error: Prefix
http://schemas.xmlsoap.org/soap/envelope/ is undefined.
The response message was a FAULT and the error sounds like it was
trying to parse an element it didn't expect - and the binding element
above doesn't mention FAULT.

Thanks for any advice!

Rob
:)

Jan 17 '06 #1
0 1278

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Miha Valencic | last post by:
Hi! WS is written in java in I am consuming it with .net (v1.1) client. The problem is in Soap fault exception (below). The program returns exception: Unhandled Exception:...
0
by: trexim | last post by:
Hi, I have a rpc operation in my WSDL: <operation name="My-Function"> <documentation>Some misc function of mine</documentation> <input message="tns:myFunctionRequest"/> <output...
2
by: James Hawes | last post by:
Greetings All. We have a web service that was built using Java / Apache. It has a namespace of: http://xml.apache.org/xml-soap with a reference to apachesoap:element. It basically is returning a...
0
by: Matt S | last post by:
Hello, I'm trying to build a C# client to consume an AXIS Web Service (running SOAP over HTTP). The Web Service encodes full server-side exception traces in the Soap Fault > Detail element...
0
by: John Jenkins | last post by:
Hi, any help on this would be greatly apprciated. I have been given a wsdl file from a customer generated by Oracle 10g Web Services tools. When I use wsdl.exe to attempt to produce proxy classes I...
3
by: GT | last post by:
I have a .NET client that consumes an Axis web service. A change was made recently to the AXIS web service, and ever since then my .NET proxy class has been throwing an InvalidCastException. The...
4
by: Nol de Wit | last post by:
(this is a re-post of a message I've posted last friday, but now from my MSDN subscription account, hoping MSDN support will pick this up...) Hi all, My webservice throws an exception, which...
3
by: jparulan | last post by:
Hi All, I'm using SOAP3.0. I was able to successfully call a WSDL file and get a value properly. But when the WSDL changed to have a MULTIPLE <element name> it was failing. This code works...
8
by: Bryan | last post by:
Hello all. I'm fairly new to c++. I've written several programs using std::vectors, and they've always worked just fine. Until today. The following is a snippet of my code (sorry, can't...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.