Web Service JAXRPCExceptions

I worked with happiness on an application that accesses some .net web services with relatively few problems until a few days ago, when my Blackberry started getting:

javax.xml.rpc.JAXRPCException: java.lang.NullPointerExceptions every time he tried to access any web service.

This only happens on my BB, works very well in the Simulator, and works very well on another BB people there must be something specific to my camera (8330). I have recorded myself on the network, from my battery, even reloaded a backup from a day before what is going on has begun.

I'm puzzled how to solve. As it works in the Simulator, all that I can say with certainty is that the error occurs in the code generated by the program generation of java stub on the line, he tries to call the web service. I don't see how it can be a code problem but since nothing has changed and it works on other devices.

Does anyone have a suggestion on what might be suddenly set up wrong on my BB who worked for weeks before that?

Thank you

Never understand what was wrong. Finally, I wiped my BB using the option in the parameters of security, restored from a backup, and the problem is now gone. I hate not knowing, but at least I can run my app again.

Tags: BlackBerry Developers

Similar Questions

  • Consume a Web service using javax.microedition.xml.rpc.Operation

    Requirement. Consume a Web Service using native libraries of Blackberry.

    Target WebService: http://ws.cdyne.com/WeatherWS/Weather.asmx

    WebService of the operation: http://ws.cdyne.com/WeatherWS/Weather.asmx?op=GetCityWeatherByZIP

    Environment: Eclipse JDE 1.3.0 with BB SDK Enterprise Server BB 5.0.0

    First Guide of: http://blog.bayestech.com/?tag=blackberry

    1 Java Stub

    public interface IWeatherServiceZip
    {
        public String getWeatherServiceByZip(String zipCode) throws java.rmi.RemoteException;
    
    }
    

    2. Service Java class

    import java.rmi.RemoteException;
    import javax.microedition.xml.rpc.ComplexType;
    import javax.microedition.xml.rpc.Element;
    import javax.microedition.xml.rpc.Operation;
    import javax.microedition.xml.rpc.Type;
    import javax.xml.namespace.QName;
    import javax.xml.rpc.JAXRPCException;
    
    import com.lm.bb.ws.interfaces.IWeatherServiceZip;
    
    /**
     * @author lmo0
     *
     */
    public class WeatherServiceZip implements IWeatherServiceZip, javax.xml.rpc.Stub
    {
        protected static final QName _qname_operation_GetCityWeatherByZIP = new QName("http://ws.cdyne.com/WeatherWS", "GetCityWeatherByZIP");
        protected static final QName _qname_GetCityWeatherByZIPResponse = new QName("http://ws.cdyne.com/WeatherWS", "GetCityWeatherByZIPResponse");
        protected static final QName _qname_GetCityWeatherByZIP = new QName("http://ws.cdyne.com/WeatherWS", "GetCityWeatherByZIP");
        protected static final Element _type_GetCityWeatherByZIP;
        protected static final Element _type_GetCityWeatherByZIPResponse;
    
        private String[] _propertyNames;
        private Object[] _propertyValues;
    
        public WeatherServiceZip()
        {
            _propertyNames = new String[]
            { ENDPOINT_ADDRESS_PROPERTY };
            _propertyValues = new Object[]
            { "http://ws.cdyne.com/WeatherWS/Weather.asmx" };
        }
    
        public void _setProperty(String name, Object value)
        {
            int size = _propertyNames.length;
            for (int i = 0; i < size; ++i)
            {
                if (_propertyNames[i].equals(name))
                {
                    _propertyValues[i] = value;
                    return;
                }
            }
            String[] newPropNames = new String[size + 1];
            System.arraycopy(_propertyNames, 0, newPropNames, 0, size);
            _propertyNames = newPropNames;
            Object[] newPropValues = new Object[size + 1];
            System.arraycopy(_propertyValues, 0, newPropValues, 0, size);
            _propertyValues = newPropValues;
    
            _propertyNames[size] = name;
            _propertyValues[size] = value;
        }
    
        public Object _getProperty(String name)
        {
            for (int i = 0; i < _propertyNames.length; ++i)
            {
                if (_propertyNames[i].equals(name))
                {
                    return _propertyValues[i];
                }
            }
            if (ENDPOINT_ADDRESS_PROPERTY.equals(name)
                    || USERNAME_PROPERTY.equals(name)
                    || PASSWORD_PROPERTY.equals(name))
            {
                return null;
            }
            if (SESSION_MAINTAIN_PROPERTY.equals(name))
            {
                return new Boolean(false);
            }
            throw new JAXRPCException("Stub does not recognize property: " + name);
        }
    
        protected void _prepOperation(Operation op)
        {
            for (int i = 0; i < _propertyNames.length; ++i)
            {
                op.setProperty(_propertyNames[i], _propertyValues[i].toString());
            }
        }
    
        public String getWeatherServiceByZip(String zipCode) throws RemoteException
        {
            Object inputObject[] = new Object[]
            { zipCode };
    
            Operation op = Operation.newInstance(_qname_operation_GetCityWeatherByZIP,    _type_GetCityWeatherByZIP, _type_GetCityWeatherByZIPResponse);
            _prepOperation(op);
            op.setProperty(Operation.SOAPACTION_URI_PROPERTY,"http://ws.cdyne.com/WeatherWS/GetCityWeatherByZIP");//SOAP Action
            Object resultObj;
            try
            {
            resultObj = op.invoke(inputObject);
            System.out.print(resultObj.toString());
            } catch (JAXRPCException e)
            {
            e.printStackTrace();
            Throwable cause = e.getLinkedCause();
            if (cause instanceof java.rmi.RemoteException)
            {
            throw (java.rmi.RemoteException) cause;
            }
            throw e;
            }
            return (String) ((Object[]) resultObj)[0];
        }
    
        static
        {
            _type_GetCityWeatherByZIPResponse = new Element(_qname_GetCityWeatherByZIPResponse,_complexType(new Element[]
                    { new Element(new QName("http://ws.cdyne.com/WeatherWS","GetCityWeatherByZIPResult"), Type.STRING, 0, 1, false) }), 1, 1,false);
            _type_GetCityWeatherByZIP = new Element(_qname_GetCityWeatherByZIP,_complexType(new Element[]
                    { new Element(new QName("http://ws.cdyne.com/WeatherWS","ZIP"), Type.STRING, 0, 1, false) }), 1, 1, false);
            }
    
        private static ComplexType _complexType(Element[] elements)
        {
            ComplexType result = new ComplexType();
            result.elements = elements;
            return result;
        }
    }
    

    3 problem

    There is no information about the exception that occurs when I try to debug my Application actually when you call the Web Service to:

    resultObj = op.invoke (inputObject);

    Any help.  If you have any other suggestions on how to consume a web service using BB. I don't want to use KSOAP2 because the source code is not updated more and prefer the native BB mode without using the 3rd party jars.

    Thank you

    How do you generate the stub class? Have you used Sun's Wireless Toolkit?

  • Via HTTPS Web service call

    Hi all

    I use Weblogic 9.2 with the default configuration of the keystore & SSL. The Web service client is generated using the 'Clientgen' Ant task, I can invoke Web service using http without problems, but when you use https, it is always rejected, basically I know not what system for the customer properties, here is my last desperate attempt:
    System.setProperty("weblogic.webservice.verbose", "true");
    System.setProperty("java.protocol.handler.pkgs", "weblogic.net");
    System.setProperty("weblogic.security.SSL.trustedCAKeyStore", "config/DemoIdentity.jks");
    System.setProperty("weblogic.security.SSL.ignoreHostnameVerification", "true");
    System.setProperty("weblogic.security.SSL.TrustKeyStore", "DemoTrust");
    System.setProperty("weblogic.webservice.client.ssl.strictcertchecking", "false");
    System.setProperty("ssl.debug", "true");
    
    PaymentGateway service = new PaymentGateway_Impl();
    PaymentGatewayPort port = service.getPaymentGatewayPort();
    Stub.class.cast(port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, "https://192.168.56.3:7002/ws/PaymentGateway?WSDL");
    Stub.class.cast(port)._setProperty(Stub.USERNAME_PROPERTY, "weblogic");
    Stub.class.cast(port)._setProperty(Stub.PASSWORD_PROPERTY, "weblogic");
    
    ISODocument isoDoc = new ISODocument();
    isoDoc.setMti(new Integer(200));
    port.balanceInquery(isoDoc);
    And here is the exception that is thrown in the client:
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: SSL license found
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Not in server, Certicom SSL license found
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacSHA1
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Will use default Mac for algorithm HmacSHA1
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Ignoring not supported JCE Mac: SunJCE version 1.5 for algorithm HmacMD5
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Will use default Mac for algorithm HmacMD5
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Ignoring not supported JCE KeyAgreement: SunJCE version 1.5 for algorithm DiffieHellman
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Will use default KeyAgreement for algorithm DiffieHellman
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Will use default KeyAgreement for algorithm ECDH
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm DESede/CBC/NoPadding
    Apr 16, 2010 8:18:14 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm DES/CBC/NoPadding
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm AES/CBC/NoPadding
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm RC4
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm RSA
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Using JCE Cipher: SunJCE version 1.5 for algorithm RSA/ECB/NoPadding
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: SSL Session TTL :90000
    <!-------------------- REQUEST FROM CLIENT ---------------->
    URL        :  https://192.168.56.3:7002/ws/PaymentGateway?WSDL
    Headers    :
      Authorization: [Basic d2VibG9naWM6d2VibG9naWM=]
      SOAPAction: [""]
      Content-Type: [text/xml]
    
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><env:Header></env:Header><env:Body env:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><m:balanceInquery xmlns:m="http://www.telkomsel.com/PaymentGateway"><iSODocument xmlns:n1="java:com.visitek.pgi.models" xsi:type="n1:ISODocument"><amount xsi:nil="true"></amount><audit_number href="#ID_2"></audit_number><bank_code xsi:type="xsd:string">000151</bank_code><currency_code href="#ID_2"></currency_code><data href="#ID_2"></data><encrypted_pin href="#ID_2"></encrypted_pin><expiration_date href="#ID_2"></expiration_date><institution_code href="#ID_2"></institution_code><institution_data xsi:type="xsd:string">62812006002616</institution_data><local_tracking_id xsi:type="xsd:string">080722163229082127.0.0.1:9595</local_tracking_id><mti xsi:type="xsd:int">200</mti><network_information_code xsi:type="xsd:short">0</network_information_code><original_data_element href="#ID_2"></original_data_element><pan_null_true xsi:type="xsd:string">yes</pan_null_true><pos_entry href="#ID_2"></pos_entry><primary_acc_number xsi:nil="true"></primary_acc_number><response_code href="#ID_2"></response_code><response_terminal_number href="#ID_2"></response_terminal_number><service_code xsi:type="xsd:int">6016</service_code><settlement_date href="#ID_2"></settlement_date><terminal_number href="#ID_2"></terminal_number><transaction_code xsi:type="xsd:int">380000</transaction_code><transaction_data href="#ID_2"></transaction_data><transaction_date href="#ID_2"></transaction_date><transaction_sequence href="#ID_2"></transaction_sequence><transaction_time href="#ID_2"></transaction_time><transaction_timestamp href="#ID_2"></transaction_timestamp></iSODocument></m:balanceInquery><xsd:string xsi:type="xsd:string" id="ID_2"></xsd:string></env:Body></env:Envelope>
    <!-------------------- END REQUEST FROM CLIENT ------------>
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Trusted CA keystore: config/DemoIdentity.jks
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Filtering JSSE SSLSocket
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: SSLIOContextTable.addContext(ctx): 24864323
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: SSLSocket will NOT be Muxing
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: write SSL_20_RECORD
    Apr 16, 2010 8:18:15 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: isMuxerActivated: false
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: 25567987 SSL3/TLS MAC
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: 25567987 received HANDSHAKE
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: HANDSHAKEMESSAGE: ServerHello
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: isMuxerActivated: false
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: 25567987 SSL3/TLS MAC
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: 25567987 received HANDSHAKE
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: HANDSHAKEMESSAGE: Certificate
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Cannot complete the certificate chain: No trusted cert found
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: Validating certificate 0 in the chain: Serial number: -151503846264256045339669576782538934945
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=paymentd
    Not Valid Before:Wed Mar 12 15:39:27 GMT+07:00 2008
    Not Valid After:Mon Mar 13 15:39:27 GMT+07:00 2023
    Signature Algorithm:MD5withRSA
    
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE: validationCallback: validateErr = 16
    Apr 16, 2010 8:18:16 PM weblogic.diagnostics.debug.DebugLogger debug
    FINE:   cert[0] = Serial number: -151503846264256045339669576782538934945
    Issuer:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=CertGenCAB
    Subject:C=US, ST=MyState, L=MyTown, O=MyOrganization, OU=FOR TESTING ONLY, CN=paymentd
    Not Valid Before:Wed Mar 12 15:39:27 GMT+07:00 2008
    Not Valid After:Mon Mar 13 15:39:27 GMT+07:00 2023
    Signature Algorithm:MD5withRSA
    
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Warning> <Security> <BEA-090542> <Certificate chain received from 192.168.56.3 - 192.168.56.3 was not trusted causing SSL handshake failure. Check the certificate chain to determine if it should be trusted or not. If it should be trusted, then update the client trusted CA configuration to trust the CA certificate that signed the peer certificate chain. If you are connecting to a WLS server that is using demo certificates (the default WLS server behavior), and you want this client to trust demo certificates, then specify -Dweblogic.security.TrustKeyStore=DemoTrust on the command line for this client.> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <Validation error = 16> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <Certificate chain is untrusted> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <SSLTrustValidator returns: 16> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <Trust status (16):  CERT_CHAIN_UNTRUSTED> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <NEW ALERT with Severity: FATAL, Type: 42
    java.lang.Exception: New alert stack
         at com.certicom.tls.record.alert.Alert.<init>(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.fireAlert(Unknown Source)
         at com.certicom.tls.record.handshake.ClientStateReceivedServerHello.handle(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessage(Unknown Source)
         at com.certicom.tls.record.handshake.HandshakeHandler.handleHandshakeMessages(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.interpretContent(Unknown Source)
         at com.certicom.tls.record.MessageInterpreter.decryptMessage(Unknown Source)
         at com.certicom.tls.record.ReadHandler.processRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readRecord(Unknown Source)
         at com.certicom.tls.record.ReadHandler.readUntilHandshakeComplete(Unknown Source)
         at com.certicom.tls.interfaceimpl.TLSConnectionImpl.completeHandshake(Unknown Source)
         at com.certicom.tls.record.WriteHandler.write(Unknown Source)
         at com.certicom.io.OutputSSLIOStreamWrapper.write(Unknown Source)
         at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
         at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
         at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
         at weblogic.net.http.HttpURLConnection.writeRequests(HttpURLConnection.java:153)
         at weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:367)
         at weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:37)
         at weblogic.net.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:705)
         at java.net.URLConnection.getContentType(URLConnection.java:479)
         at weblogic.webservice.binding.http11.Http11ClientBinding.receive(Http11ClientBinding.java:230)
         at weblogic.webservice.core.handler.ClientHandler.handleResponse(ClientHandler.java:64)
         at weblogic.webservice.core.HandlerChainImpl.handleResponse(HandlerChainImpl.java:238)
         at weblogic.webservice.core.ClientDispatcher.receive(ClientDispatcher.java:246)
         at weblogic.webservice.core.ClientDispatcher.dispatch(ClientDispatcher.java:147)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:473)
         at weblogic.webservice.core.DefaultOperation.invoke(DefaultOperation.java:459)
         at weblogic.webservice.core.rpc.StubImpl._invoke(StubImpl.java:306)
         at com.visitek.pgi.client.PaymentGatewayPort_Stub.balanceInquery(PaymentGatewayPort_Stub.java:48)
         at com.visitek.test.pg.TestPGWebservice.testWebserviceSSLInvocation(TestPGWebservice.java:70)
         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:585)
         at junit.framework.TestCase.runTest(TestCase.java:164)
         at junit.framework.TestCase.runBare(TestCase.java:130)
         at junit.framework.TestResult$1.protect(TestResult.java:106)
         at junit.framework.TestResult.runProtected(TestResult.java:124)
         at junit.framework.TestResult.run(TestResult.java:109)
         at junit.framework.TestCase.run(TestCase.java:120)
         at junit.framework.TestSuite.runTest(TestSuite.java:230)
         at junit.framework.TestSuite.run(TestSuite.java:225)
         at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    >
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <write ALERT, offset = 0, length = 2> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <close(): 19097823> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read(offset=0, length=8192)> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read returns -1> 
    <!-------------------- RESPONSE TO CLIENT --------------->
    URL           : https://192.168.56.3:7002/ws/PaymentGateway?WSDL
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read(offset=0, length=8192)> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read returns -1> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read(offset=0, length=8192)> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Debug> <SecuritySSL> <000000> <19097823 read returns -1> 
    <Apr 16, 2010 8:18:16 PM GMT+07:00> <Info> <WebService> <BEA-220025> <Handler weblogic.webservice.core.handler.ClientHandler threw an exception from its handleResponse method. The exception was:
    javax.xml.rpc.JAXRPCException: java.io.EOFException: Response contained no data.> 
    I'm completely extraneous to this thing HTTPS & SSL & I googled around only to find partial responses. My plan is to use a custom identity, but I first want to make sure that the use of the default work.

    Any help would be greatly appreciated.


    Kind regards

    Setya

    Hello

    To call your web service via the SSL protocol, the simplest is to use only the following code snippet:
    You used the threshold:
    System.setProperty ("weblogic.security.SSL.trustedCAKeyStore", "* config/DemoIdentity.jks" *);

    instead of DemoIdentity.jks, you provide the full path and the file name of the DemoTrust.jks file as below:

    System.setProperty ("weblogic.security.SSL.trustedCAKeyStore", "* D:/wls103/wlserver_10.3/server/lib/DemoTrust.jks*");

    Hope this will solve the problem.

    Thank you
    Sandeep

  • What that means, "Web service is disabled. An administrator can activate using the application server? »

    I am trying to connect to a Web site that I am using for 5 years and more. Now Firefox reports that the certificate is incorrect, and the message "Web service is disabled. An administrator can activate with the server application. ", is given.

    I don't know what to do with this information. Service Web is on other Web sites. What is the "server application? How to take control and connect? I am the administrator.

    Are you able to reproduce this problem with another browser?

  • Photosmart HP 7520: HP Photosmart 7520 does not connect to web services

    My printer suddenly stopped connecting to the Web Services a month ago. I had already used web services successfully for two years, then my computer infected with malware and ruined a lot of things. I guess that it also affected the printer since it is at the same time ceases to function properly. I can print wireless very well all of my devices, but doesn't connect things like regular printable.

    I tried restaring the printer and the restoration of the default network printer. I also tried the steps listed in this forum http://h30434.www3.hp.com/t5/Inkjet-Printing/HP-Photosmart-7520-unable-to-connect-to-Web-Services/td...

    Hello

    Apologies for jumping!

    For the Photosmart 7520, the latest firmware must be installed in order to maintain a connection to Web Services.

    The firmware can be installed on any Windows PC via the following link:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5199462/swItemId/OJ-113641-5

    Kind regards

    Shlomi

  • HP Photosmart 7520 unable to connect to Web Services

    It's used to work. Now when I try to scan to e-mail, I get all the way to where I choose it as a Document and then I get the message "unable to connect to web services. I printed out the results of the wireless network Test and everything looks great. Also, the Configuration of the network page is superb. My name network, says it is connected to the Internet. I was able to download the updates. IP address looks right.

    I have downloaded and run printing HP and doctor Scan and it crashed.

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: HPDiagnosticCoreUI.exe
    Application version: 3.1.0.25
    Application timestamp: 50fd3a60
    Fault Module name: dlbxtwds.ds
    Fault Module Version: 3.107.0.0
    Timestamp of Module error: 45df4cd1
    Exception code: c0000005
    Exception offset: 00004da2
    OS version: 6.1.7601.2.1.0.768.3
    Locale ID: 1033
    Additional information 1: 0a9e
    More information 2: 0a9e372d3b4ad19135b953a78882e789
    Additional information 3: 0a9e
    Additional information 4: 0a9e372d3b4ad19135b953a78882e789

    @shoikh

    I understand that your printer is not connected to the web services.  . I would first disconnect the router and the printer for about 1 minute.  I would plug the router first then the printer. I would then try to enable web services. If not successful, and you get the same error message. I'd follow these steps.

    1 obtain the IP address of your printer

    a. This can be done by pressing the icon on the printer wireless.

    2. Enter the printer's IP address in a browser.

    3. Select the tab network at the top of the page.

    4. on the left, select network.

    5. Select Network (IP) address

    6. select manual DNS server

    a. manual Preferred DNS should read 8.8.8.8

    b. alternate DNS server should read. 8.8.4.4

    7. Select apply you could get a fair warning select OK.

  • Tab HP Web services to find the claim code is not found

    Hello

    I'm trying to implement HP ePrint on my printer HP Laserjet M1522nf connected to my home network. I am unable to find the claim code for my printer set up the device connected HP services.

    I entered the IP address on my web browser and entered the Printer Setup tab, but I can't find the web services tab or the printing page of information for the claim code.

    Please let me know how to find the claim code so that I could set up ePrint.

    Thank you

    Harish

    OK done judt this device is not ready for eprint.

    Please ignore my previous post.

  • HP Envy 110 All In One printer: HP Envy 110 series does not connect to Web Services

    I had the printer a number of years and it works very well. I wanted to set up the service of replacement with HP ink, but apparently the "Web Services" are not put in place?

    The iprint app refuses to implement. (says it is not connected to the internet and it is!)  I have tried restore factory settings and delete and reinstall on my laptop, nothing helps. I tried to enter the ip address in the browser, but it still does this end no more.

    The MNA I am doing wrong?

    Help, please.

    Thank you

    Welcome to the Forum from HP Support. I hope you're well @Amchad!

    I read on the web-services and wanted to stop doing you to share my suggestions.

    As of September 1, 2016, Web Services stop working and are no longer supported on some printers. I'm afraid that your printer is on the list and therefore not compatible with web services. The function ePrint and other web services are not available on this printer.

    Please check the details here: http://hp.care/2eKfeK2

    As an alternative to HP ePrint, go to Google Cloud Print (in English) to set up your printer as printer 'classic' to use Google Cloud print with your printer.

    Hope that answers your questions. Let me know!

    See you soon

    Please click on 'acceptable' on the post that solves your problem to help others to find the solution. To show gratitude for my help, please click the 'Thumbs Up icon' below!

  • HP 7520: HP 7520 - impossible to activate Web Services - tried all of the solutions only in the last forums

    There are so many messages on this error dating yeas.  I tried all.  He used to work without any problems.  I tried the changes DNS 8.8.8.8 and 8.8.4.4, I reset my routers hundred times.  I entered my IP address in my browser and tried in this way.  No matter what I tried my Services Web will not work.  I have reset the factory settings and reinstalled the software on my computer to make sure that what was allowed.  Any other tips or thoughts?  Y at - it a proxy address that I can try?

    Hello

    From your PC, download and install the latest firmware below:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5199462/swItemId/OJ-113641-5

    Once done, restart your printer and try to access Web Services, tht sould restore its functionality.

    Kind regards

    Shlomi

  • HP photosmart 7525: hp 7525 unable to connect to web services

    I recently bought an Imac, and now I can't get my hp 7525 to analyze correctly. It says unable to connect to web services. I tried to uninstall wirless and re-login.  Help, please!

    Hello

    My apologies for jumping.

    To add more, the latest firmware MUST be installed to maintain connectivity of the web services.

    Click on the configuration icon and select Tools, then print a printer status report.

    Locate the firmware listed, if it is a value lower than ELM1CN1607AR (see "BOLD" kinds) you will be required to update the firmware.

    Unfortunately, a Mac OS firmware update utility is not currently available, so you must use a Windows PC to update the printer:

    http://support.HP.com/us-en/drivers/selfservice/swdetails/HP-Photosmart-7520-e-all-in-one-printer-series/5199461/model/5286642/swItemId/OJ-113641-5

    Once obtained the latest firmware, try to use Web Services again and check for the difference.

    Kind regards

    Shlomi

  • Photosmart 7520: error message stating unable to connect to web services

    I'm scanning my printer and get error messages saying: unable to connect to web services check the internet access. I have access to the internet and also tried to get a new IP address manual. Keeps saying try again or enter proxy. Any ideas would be greatly appreciated.

    I have used this analysis before but just suddenly get these messages

    OK I try it and see if it works. Thank you

  • OfficeJet Pro 8610: impossible to activate web service HP8610

    When I first set up my printer, I was able to use the Web Services, but one day, when the printer was old, 9 months after that put under tension/disable web services from my router stopped working!

    I could go to print and scan wireless, but web services is more work, so my stautus instant ink is more updated. After getting a dozen emails from Instnt of ink over the 3 months, they finally disabled my printer from printing (no doubt he reactivates if I bought all new ink cartridges for more than $100 all, although I don't trust HP enough to pay as much in case they do not work).

    I tried following various instructions in this help forum to reset the ipv4 address, but nothing helped. The printer is a little more than 12 months. My ISP is AT & T who were no help (of course). When I phoned HP while I was in warranty period, HP engineer said it was an ISP problem and nothing was wrong with the printer.

    I even tried to connect the printer to my Iphone hotspot, but which allowed either the web connection.

    Suggestions anyone?

    Hi @mallen14

    Welcome to the Forums of HP's Support. One thing I noticed on these printers, make sue that the date and time of the printer is correct.

    Also, have you tried the suggestions in this post by E - roq?

    Pro Tips: Troubleshooting scan to E-mail questions in e-all-in-one printers and ePrint

    I found that setting a manual DNS is more effective in these situations, then playing with the IPv4 address.

    I would like to know if these measures worked for you. If they did, it's great! Give us some reinforcements by pressing buttons of solution and laurels, that we will help and others see that we have the answers!

  • Color LaserJet MFP M177fw Pro: installation of web services blocked to 'connection '.

    I'm trying to enable Web Services on this new LaserJet.  I am in the built-in Web Server page and the configuration of Web Services tab.  I clicked on 'Turn on' and it just keeps spinning in connection...

    DNS is 8888 and 8844

    All the other tabs work; It is connected to the computer and the Internet.  Help please?

    Thank you!

    Hi @crowndude,

    I see that you have problems with Web Services. I want to help you.

    I have provided a few steps to try to see if we can solve this problem.

    Turn off IPv6 on the printer.

    Go to configuration, network configuration, network, IPv6 Services and turn it off.

    This DNS works better for Laserjet printers. Please change the settings to see if this will help the printer built-in Web server.

    Preferred DNS address: 209.244.0.3
    Auxiliary DNS address: 209.244.0.4

    Power cycle the printer.

    If you still have questions, please continue with the following steps:

    Update the firmware of the printer by a USB connection. HP Color LaserJet Pro MFP Firmware update M177fw.

    Configure a static IP address for the printer. Proceed to Solution 3: printer of the assign a static IP address.

    Printer HP Color LaserJet Pro MFP M177fw and HP LaserJet Pro MFP M127fw and M128fw printers - printer does not keep the Wi - Fi connection.

    I'll send you another step to try in a private message.
    In the forum next to your handle name simply click on the envelope to see.

    If you appreciate my efforts, please click on the "Thumbs up" button below.

    If there is anything else I can help you, let me know. Thank you.

  • OfficeJet 6500 has Win7. Unable to connect to web services.

    I am trying to connect to Web Services because it has not been activated. The printer says that I have no connection, but the blue wireless light is on. It says that I need a proxy address. I have the printer status report, is this address here? I put in what I thought was the address and I wonder then to enter the proxy port; How will I know what it is? I seem to be long around in circles! Can anyone help please?

    Thanks for your reply. In fact, I had found that the problem is that the network driver was not installed from the disk.  After you have downloaded and installed, everything was OK.

  • OfficeJet 7110: activation web service HP 7110

    Unable to enable web services on HP Officejet 7110.

    I tried all the usual suggestions, reset printer, reset the router, set manual DNS, etc., maual IP address.

    Printer works flawlessley in 802.3 or 802.11 mode. IP v4 active, disabled v6.  Can ping and print from any computer using any operating system on the local network, but unable to connect to HP servers and enable web services.

    The messages say "checking the connection to the server and the printer update.» This process may take several minutes. »

    Then replaced by "Enabling Web Services. This process may take several minutes. »

    Then fails and it falls the try them "Web services is not enabled" again from the screen.

    After doing this several times, it displays the "you have exceed the maximum number of attempts." Turn off the printer and try again in an hour.

    Of course, starting the whole lack of process again.

    Any help would be appreciated.

    Thanks for trying to help.

    I tried all the suggestions that were provided previously without success. I does not solve the problem in a way that might be useful to other users.

    One of the consequences of not being able to activate web services is that you also can not use this method to update the printers firmware. When I checked the support, there is no firmware shown with software update driver for my OS. Then I looked under all versions of the OSES and found an update of firmware for use with Windows 10.  I have downloaded it, updated the firmware of the printers manually and was immediately able to get web services running.

    Everything is good now.

Maybe you are looking for