Loading ...
Sorry, an error occurred while loading the content.

1145E1038 ERROR FOR A JAVA CLIENT WHILE LOGIN FOR SERVICE

Expand Messages
  • rajesh_kommuri
    Dec 9, 2010
    • 0 Attachment
      hi,

      here iam getting E1038 Error Message while accessing the Service. infact it is working fine with a client from Sweeden but getting error while accessing from India. can any one help me to get out.?

      The Actual API Falut is as follwos:
      Exception in thread "main" AxisFault
      faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
      faultSubcode:
      faultString: Account cannot be accessed at this location.
      faultActor:
      faultNode:
      faultDetail:
      {http://marketing.ews.yahooapis.com/V7}ApiFault:<yns:code>E1038</yns:code><yns:message>Account cannot be accessed at this location.</yns:message>

      Account cannot be accessed at this location.
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at java.lang.Class.newInstance0(Class.java:355)
      at java.lang.Class.newInstance(Class.java:308)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
      at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
      at com.yahoo.sm.ws.client.ApiFault.getDeserializer(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
      at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
      at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
      at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
      at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
      at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
      at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
      at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
      at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
      at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
      at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
      at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
      at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
      at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
      at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
      at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
      at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
      at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
      at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
      at org.apache.axis.client.Call.invoke(Call.java:2767)
      at org.apache.axis.client.Call.invoke(Call.java:2443)
      at org.apache.axis.client.Call.invoke(Call.java:2366)
      at org.apache.axis.client.Call.invoke(Call.java:1812)
      at com.yahoo.sm.ws.client.CampaignServiceHttpBindingStub.getCampaignsByAccountID(Unknown Source)
      at com.yahoo.sm.ws.client.AddCampaign.main(AddCampaign.java:35)

      1. Is there any difference in MasterAccountLocationServiceEndPoint based on Geographical locations?
      2. what is the value for that Master AccountLocationServiceEndPoint?


      Thanks&Regards,

      Rajesh kommuri.