I know that there have been several discussions of this topic before but I
have not been able to find a solution.
I also posted this in java-...@axis.apache.org as I was not sure which was
intended for questions like this.
Background: A thirdparty company provided access to a number of web
services as well as a packaging of the axis jar files.
We are a Microsoft Windows C# shop and this is the only production java
code which we use.
When we generated the code using WSDL2Java we got numerous errors all
relating to a class ProviderErrorType.
Basically, the generated code assumed that ProviderErrorType[] was
throwable but the class itself was not an extension
of throwable. We "hacked" the code removing the []s throughout and
declaring it to extend Throwable (the current code file
is attached). Everything compiled and worked perfectly until the server
returned a ProviderErrorType.(a typical error is attached);
The code then threw the error "No deserializer for {
http://www.w3.org/2001/XMLSchema}anyType";.
I have attached one of the BindingStubs.

In researching this issue, I found this same problem being described from
an application generated from UPS (that is not
where this came from).

As I said we are not a Java shop but do have enough experience to follow
most any set of instructions (we cannot change
anything on the Server side).
Any help will be greatly appreciated.

Attachment: ProviderErrorType.java
Description: Binary data

Attachment: VariousCallsBindingStub.java
Description: Binary data

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
  <SOAP-ENV:Header>
    <m:wsMessageHeader xmlns:m="http://integration.anycompany.com/common/header/WSMessageHeader/v2";>
      <m:trackingMessageHeader>
        <m:applicationId>9LL</m:applicationId>
        <m:applicationUserId>Trouble</m:applicationUserId>
        <m:consumerId>ABC</m:consumerId>
        <m:messageId>10743918</m:messageId>
        <m:conversationId/>
        <m:timeToLive>60</m:timeToLive>
        <m:replyCompletionCode>8</m:replyCompletionCode>
        <m:messageDateTimeStamp>2012-05-16T13:01:37-05:00</m:messageDateTimeStamp>
      </m:trackingMessageHeader>
    </m:wsMessageHeader>
  </SOAP-ENV:Header>
  <SOAP-ENV:Body>
    <SOAP-ENV:Fault>
      <faultcode>Server.704</faultcode>
      <faultstring>Application processing error</faultstring>
      <faultactor>Ensemble</faultactor>
      <detail>
        <ns2:errorDetailItem xmlns:ns2="http://integration.anycompany.com/common/ErrorDetailsV2.xsd";>
          <ns2:providerError>
            <ns2:providerErrorCode>210820012</ns2:providerErrorCode>
            <ns2:providerErrorText>The record does not belong to the ABC customer/MVNO</ns2:providerErrorText>
          </ns2:providerError>
          <ns2:providerError>
            <ns2:providerErrorCode>Server.704</ns2:providerErrorCode>
            <ns2:providerErrorText>Application processing error</ns2:providerErrorText>
            <ns2:errorSystem>Ensemble</ns2:errorSystem>
          </ns2:providerError>
        </ns2:errorDetailItem>
      </detail>
    </SOAP-ENV:Fault>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
 
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to