"Connection error. Check Internet connection." when trying to Enable Web Services on HP 1606dn
Error message "Connection error. Check Internet connection." when trying to Enable Web Services on HP Laserjet 1606dn.
Operating system: Windows 7
Thanks for helping,
Howard
UPDATE 21-7-13: After upgrading the firmware to the lastest version, I could enable web services. Big help was this video: http://www.youtube.com/watch?v=Q5gpIGZXDXw
This question was solved.
View Solution.
Hi,
Please try the following.
1. Open an internet browser type printer's IP address.
2. Should bring you to the printer's status page.
3. Select the networking tab at the top.
4. Left hand side select IPv4 under wireless.
5. Under DNS address Configuration select Manual DNS Server.
6. For Preferred enter 8.8.8.8
7. For Alternate enter 8.8.4.4
8. Select apply. You might get a warning saying this could interrupt connection that's fine.
9. Turn printer off for about 30 seconds then try again.
Although I am an HP employee, I am speaking for myself and not for HP.
--Say "Thanks" by clicking the Kudos Star in the post that helped you.
--Please mark the post that solves your problem as "Accepted Solution"
Similar Messages
-
Error from JNI.ADD_OBJECT_ARG when trying to access web service
Hi,
I'm hoping someone can help me with this. I am very new to Java and my lack of experience is probably killing me...
Trying to be very explicit probably caused me to create a very lengthy post..my apologies...
My issue:
I've created a post_database_commit trigger to access my web service (written in C# .NET). I used JDeveloper 10.3.3.1 to create the wrapper code using my WSDL file. I am receiving an error message "Unable to call out to Java, invalid object type for argument 1" when the code line 'rv := UIDItemSvcSoap12Client.addUidItem(my_object, a0);' is executed in the trigger. I do not see the reason for the error.
Here are code excerpts:
(Post_database_commit trigger)
rv varchar2(1000);
ex ora_java.jobject;
a0 ora_java.jobject;
my_object ORA_JAVA.jOBJECT;
BEGIN
my_object := UIDItemSvcSoap12Client.new() ;
---create args list (Varchar2 in, jobject out)
a0 := Exception_.new(:uid_table.uid_no);
UIDItemSvcSoap12Client.main(a0);
rv := UIDItemSvcSoap12Client.addUidItem(my_object, a0);
(Package spec)
-- Method: addUidItem (Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;
FUNCTION addUidItem(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN VARCHAR2;
(Entire Package body created by Jdeveloper)
PACKAGE BODY UIDItemSvcSoap12Client IS
-- DO NOT EDIT THIS FILE - it is machine generated!
args JNI.ARGLIST;
-- Constructor for signature ()V
FUNCTION new RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN (JNI.NEW_OBJECT('uidwebsvcproject/proxy/UIDItemSvcSoap12Client', '()V', args));
END;
-- Method: main ([Ljava/lang/String;)V
PROCEDURE main(
a0 ORA_JAVA.JARRAY) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, '[Ljava/lang/String;');
JNI.CALL_VOID_METHOD(TRUE, NULL, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'main', '([Ljava/lang/String;)V', args);
END;
-- Method: getPort ()Luidwebsvcproject/proxy/UIDItemSvcSoap;
FUNCTION getPort(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getPort', '()Luidwebsvcproject/proxy/UIDItemSvcSoap;', args);
END;
-- Method: getClientTransport ()Loracle/webservices/transport/ClientTransport;
FUNCTION getClientTransport(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getClientTransport', '()Loracle/webservices/transport/ClientTransport;', args);
END;
-- Method: addUidItem (Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;
FUNCTION addUidItem(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'uidwebsvcproject/proxy/UIDItem');
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'addUidItem', '(Luidwebsvcproject/proxy/UIDItem;)Ljava/lang/String;', args);
END;
-- Method: getEndpoint ()Ljava/lang/String;
FUNCTION getEndpoint(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getEndpoint', '()Ljava/lang/String;', args);
END;
-- Method: getMaintainSession ()Z
FUNCTION getMaintainSession(
obj ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := NULL;
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getMaintainSession', '()Z', args);
END;
-- Method: setMaintainSession (Z)V
PROCEDURE setMaintainSession(
obj ORA_JAVA.JOBJECT,
a0 BOOLEAN) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_BOOLEAN_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setMaintainSession', '(Z)V', args);
END;
-- Method: setUsername (Ljava/lang/String;)V
PROCEDURE setUsername(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_STRING_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setUsername', '(Ljava/lang/String;)V', args);
END;
-- Method: getUsername ()Ljava/lang/String;
FUNCTION getUsername(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getUsername', '()Ljava/lang/String;', args);
END;
-- Method: setPassword (Ljava/lang/String;)V
PROCEDURE setPassword(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_STRING_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setPassword', '(Ljava/lang/String;)V', args);
END;
-- Method: getPassword ()Ljava/lang/String;
FUNCTION getPassword(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getPassword', '()Ljava/lang/String;', args);
END;
-- Method: setEndpoint (Ljava/lang/String;)V
PROCEDURE setEndpoint(
obj ORA_JAVA.JOBJECT,
a0 VARCHAR2) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_STRING_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'setEndpoint', '(Ljava/lang/String;)V', args);
END;
-- Method: hashCode ()I
FUNCTION hashCode(
obj ORA_JAVA.JOBJECT) RETURN NUMBER IS
BEGIN
args := NULL;
RETURN JNI.CALL_INT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'hashCode', '()I', args);
END;
-- Method: getClass ()Ljava/lang/Class;
FUNCTION getClass(
obj ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
BEGIN
args := NULL;
RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'getClass', '()Ljava/lang/Class;', args);
END;
-- Method: wait (JI)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER,
a1 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(2);
JNI.ADD_LONG_ARG(args, a0);
JNI.ADD_INT_ARG(args, a1);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '(JI)V', args);
END;
-- Method: wait ()V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '()V', args);
END;
-- Method: wait (J)V
PROCEDURE wait(
obj ORA_JAVA.JOBJECT,
a0 NUMBER) IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_LONG_ARG(args, a0);
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'wait', '(J)V', args);
END;
-- Method: equals (Ljava/lang/Object;)Z
FUNCTION equals(
obj ORA_JAVA.JOBJECT,
a0 ORA_JAVA.JOBJECT) RETURN BOOLEAN IS
BEGIN
args := JNI.CREATE_ARG_LIST(1);
JNI.ADD_OBJECT_ARG(args, a0, 'java/lang/Object');
RETURN JNI.CALL_BOOLEAN_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'equals', '(Ljava/lang/Object;)Z', args);
END;
-- Method: notify ()V
PROCEDURE notify(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'notify', '()V', args);
END;
-- Method: notifyAll ()V
PROCEDURE notifyAll(
obj ORA_JAVA.JOBJECT) IS
BEGIN
args := NULL;
JNI.CALL_VOID_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'notifyAll', '()V', args);
END;
-- Method: toString ()Ljava/lang/String;
FUNCTION toString(
obj ORA_JAVA.JOBJECT) RETURN VARCHAR2 IS
BEGIN
args := NULL;
RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'uidwebsvcproject/proxy/UIDItemSvcSoap12Client', 'toString', '()Ljava/lang/String;', args);
END;
BEGIN
NULL;
END;
(Code from JDeveloper)
public String addUidItem(UIDItem UIDItem) throws java.rmi.RemoteException {
return _port.addUidItem(UIDItem);
}That's a network or server issue, not a problem with your Mac.
-
GenericServiceFactory initialization problem when trying to load Web servic
Hi,
I am making a Guided procedure that calls a webservice. I have created a new Destination Template and was able to load the webservice definition successfully, but when I test the callable object I created for that same webservice y get the error:
GenericServiceFactory initialization problem when trying to load Web service model for WSDL.
Somehow I think there is something wrong with the user authentication. The Destination template has a user and password but somehow I think the callable object test is not using this information at all.
Can anyone help ?
Thanks in advanceHi Hans,
Have you verified if you can call any external web service calls from your J2EE engine? Go into the SOA Management / Global settings (if you are on CE - if you're on 7.0 it's in manage WS desintations).
Look at your proxy settings and set them like your web browser that enables external calls. For example, in the SAP network I set my global proxy settings on my local J2EE engine to be:
Proxy host: proxy
Proxy port: 8080
Exclude list: *.sap.corp
Does that make sense - have you verified if your settings are correct for your company?
Regards
Ginger -
Can anyone tell me what I need to do in order to enable HP Web Services on HP LaserJet Pro M1536DNF model? Everything works fine and shows it's connected to the network but I cannot enable HP Web Services. It says "Connection error Check connection" I've tried restarting everything; network, printer, computer. I've also updated firmware to latest version as well.
Hi snapry,
Welcome to the HP Support forums. I understand that you are getting an unable to connect message when trying to enable the web services for your Laserjet CP1025nw printer.
Please set a manual IP address and manual DNS servers for the printer. The instructions can be found in the document Printer Does Not Maintain Wireless Connection. There is a Windows section and a Mac section. In the Windows section you will find the instructions in the sub-section titled “Solution three: Assign the printer a static IP address”. For Mac the applicable sub-section is titled “Solution two: Assign the printer a static IP address”. When entering the information for the Manual Preferred DNS server please use 8.8.8.8 and for the Alternate Preferred DNS server please use 8.8.4.4. These are Google’s DNS servers.
After setting the manual IP address and manual DNS servers, you should have no problems enabling the web services.
Regards,
Happytohelp01
Please click on the Thumbs Up on the right to say “Thanks” for helping!
Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
I work on behalf of HP -
Fix for "Not Connected" Error Messages When Trying to Access Web Services
If you run across an error message on your printer stating that it is "Not Connected" when trying to access ePrint or your Apps, but you know it is connected to the internet, it probably just means that the printer is not connecting to the server properly.
Here is the first set of steps I would try, since they seem to resolve this issue half of the time.
The first thing I would try in this situation is a network reboot.
First, disconnect the power cord from the back of your router.
Next disconnect the power cord from either the back of the printer or the wall, without powering it off first.
Wait about 30 seconds and reconnect the power cord to your router.
Wait about another 30 seconds and plug the printer back in. It should boot back up automatically, but if it doesn't go ahead and press the power button.
Once everything is back up and running, try to access ePrint or your Apps.
If those steps don't work for you, the next thing would be setting a Static IP & DNS for the printer. Before doing this, you want to print off a network configuration page. It varies from model to model, but it is usually found under the Wireless Settings or under Reports in the Setup menu. After you have that page, follow these steps.
Before we start, we need a network configuration page with your current connection settings. To get this, press the wireless button on the front of your printer and then press "Print Info" or "Print Report". This will print off a network configuration page, which has information on it that we need to complete the next few steps.
After you have that, we will need to access the printers Embedded Web Server (EWS). You can do so by entering the printers IP address (from the network configuration page) into your browsers address bar and pressing enter.
Once there, press the "Network" tab at the top of the page. From there you will want to click the "IPv4" button, located on the lef-hand side of the page. It will be there for WIreless and Wired, so make sure to click the one for you however you are connected. If you do not see "IPv4", you should see "Networking", press that and then press "Network Address(IP)".
Next, you will want to click the small round button next to "Manual IP Address" and then fill in the boxes for IP Address, Subnet Mask, and Default Gateway, using the information found on the network configuration page.
For the Primary or Preffered DNS Server, you will want to enter 8.8.8.8.
For the Secondary or Alternate DNS Server, you will want to enter 8.8.4.4.
Click apply and when the message pops up saying that the changes have been applied, press "OK".
Press the power button on your printer, wait for it to fully power off and then press it again to power it back on.
After doing this, go ahead and try to enable ePrint again.
-------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------
This question was solved.
View Solution.The reason we recommend using 8.8.8.8 and 8.8.4.4 for the DNS server is because they work when ISP assigned DNS servers do not. The DNS server assigned to you by your ISP is not able to resolve the domain for web services, therefore not allowing the printer to connect.
I assure you that it is with your ISP's DNS server and not the printer. If you were to take the printer back to the store and get a replacement, you would have the same issue, unless you changed the DNS. Same goes for any of our web service enabled printers.
-------------How do I give Kudos? | How do I mark a post as Solved? -------------------------------------------------------- -
Security Error when trying to access web service
I have an app that connects over HTTPS to a web service on
our internal network. The interface to the web service was created
by using the WSDL Import function of the Flex IDE.
I can run the app and retrieve data without a problem when I
run from the debug-bin folder that the Flex IDE compiles to.
However, I cannot connect to the web service from anywhere else,
such as a different location on my own local drives, a network
drive, or another persons machine.
I've setup a local instance of Apache with mod_ssl so I could
host the app under an HTTPS connection itself, which the
documentation seemed to imply that would work. However, when I run
the app, I get:
[FaultEvent fault=[RPC Fault faultString="Security error
accessing url" faultCode="Channel.Security.Error"
faultDetail="Destination: DefaultHTTPS"] messageId=null
type="fault" bubbles=true cancelable=true eventPhase=2]
I am accessing the app by going to
https://mymachine.companydomain.com/myapp.html, and the web service
is being accessed through https://webservice.companydomain.com/.
Anybody have any thoughts on what I should be looking at?
I've been searching and trying things for a few days with no luck.
Any help would be appreciated. Thanks.The SSL handshake works differently to a browser as it is making the connections automatically.
The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
cheers
James -
Getting error when trying to invoke web service - disable SSL
Hi
Please advise me how to disable the SSL for bpel.
The problem which am facing is as below
I am trying to invoke web service in another site, its showing me error as
javax.net.ssl.SSLHandshakeException: java.security.cert.CertificateExpiredException:
Now i would like to disable the SSL for this handshake, so that it wont look for certificates and invokes the web service directly, right.
So please advise how to disable to SSL in bpel (10.1.2) now.
Thanks
Suneel JakkaThe SSL handshake works differently to a browser as it is making the connections automatically.
The browser asks every time if you want to trust an expired certificate, and it also recommends not to. Its impractical to manually check every service call to say do you trust the certificate so the functionality doesn't exist. I doubt any integration product does this. Therefore there isn't a option to ignore the certificate if it has expired.
This makes sence as the certificate is untrustworthy. The whole idea around SSL is trusting the site you are communicating with, all parties need to be trusted. This stops hackers from replicating their site and intercepting data.
If the administrator of the remote site is not willing to renew the certificate, are they really interested in SSL. I suggest they expose a non SSL service.
cheers
James -
Error on page when trying to test web service in EM
Hi,
I've developed a couple of web services in JDeveloper and tested them through Enterprise Manager. But the latest service won't work as expected. When I press "Test Web Service" for this particular port I get the message "Error on page" and
"Line: 94
Char: 1
Error: Object expected
Code: 0"
For the other web services the possible input parameters are shown as an HTML form and you can also choose to use an XML source. But this won't work in this case. No input parameters are shown and you can't choose XML source.
My question is of course the reason for this behaviour. And secondly; are the possible input parameters retrieved from the xsd file or from somewhere else? Could there be an error in it causing the problem? I'd be happy to provide some code, although right now I'm not sure which code snippet is appropriate.
Thanks in advance!
KerstinUpdate:
Now I see that there are in fact two error messages. The second one is the one presented above. But the first one says:
Line: 145
Char: 97
Error: Expected ';'
Code: 0
My question now is to what file it is referring?? Is it to ProjectAccountingPort.js that is automatically created? THen why is it not properly created??
Please, please help me with this! The deadline is in a few days... -
When trying to initiate Web Services getting server connection error
HP PhotoSmart 5510, 6510 and 7510 all get Server Connection Error when trying to do the initial Web Services setup. I connected with no problem to my wireless router and have received an ip address but all three printer give me the same error when trying to set up web services. Any insight would be appreciated.
Hello cdecicco,
I answered a post with similar issues where someone was unable to connect to Web Services on their printer. Here is the link:
http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile/ePrint-3070A/m-p/1250295#M15308
Let me know if this helps or you need more assistance.
If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
Although I work for HP, my posts and replies are my own opinion and not those of HP. -
Unsupported Version error when trying to run Web Services Tutorial example
Hi there,
I'm trying to run the first example from the Java Web Services Tutorial and get the following error when I type 'asant build' in my Command Window.
Buildfile: build.xml
BUILD FAILED
java.lang.UnsupportedClassVersionError: com/sun/tools/ws/ant/WsImport (Unsupport
ed major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at org.apache.tools.ant.loader.AntClassLoader2.defineClassFromData(AntCl
assLoader2.java:76)
When I do a java -version I see my version is Java 1.5, and I'm not sure why the build is still trying to use Java 1.4. I do not want to delete the 1.4 from my machine as it is used for something else.
C:\jwstutorial20\examples\jaxws\helloservice>java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)
Could you please help me with this problem?
Thanks in advance.
Azeem.Hi Azeem.
Check out values specified for JAVA_HOME, PATH and CLASSPATH under environment variable. Was facing the same problem. Changed the values to point to jdk1.5 and it is working now.
BTW.
You don't have to uninstall jdk1.4.
Cheers!!! -
Exception when trying to use web service login method
Hi all,
we've installed Discoverer, upgraded OAS to version 10.1.2 and installed the web service patch successfully. I can get the list of web service methods through
http://app1.localdomain:7778/discoverer/wsi
We've also created a bipublisher user in oiddas, and got it's guid. When I try to use the login method of the web services I get this exception:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>oracle.discoverer.applications.ws.util.DiscovererWSException: An error occurred during SSOUsername/GUID lookup.</faultstring>
<faultactor>/discoverer/wsi</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>Does anyone have a clue what the problem is? I should also mention that after my DBA's advice we didn't upgrade the infrastructure instance, only the middle tier discoverer installation and then installed the repository upgrade.
A few months back on a test installation I had tried to switch to SSO and then reverted back and managed to connect without SSO enabled.
Edited by: dvm on Nov 11, 2008 7:22 AMWell... this is definitelly not a requirement.
The code snippet came from the test (junit) for something which is much bigger. And of course the 1-char long table name has nothing to do with desing. At all.
We have a system where a user defines (named) xml structures, so to say. The structures are then "translated" into DB entities. So the result DB schema is fully auto-generated. The system supports 4 different SQL dialects. Oracle is just one of them.
Having restrictions like "name of a structure must be at least two characters" is no problem. But I still can`t believe Oracle has such a limitation. It does not sound logical (to me at least). And I had a hope may be someone has an explanation for that thing.
The code above works just fine if I do not request certain columns back after the statement is executed. (e.g. without the second parameter).
But anyway... I would post a bug for this, if I knew where to post it to :)
Thanks. -
Ora31011,ora19202,lpx00104 when trying to create web service
I'm stepping through Oracle htmldbDB 2 day How to create a Web Service http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b16376/web_serv.htm#sthref155
To create a Web service reference by searching for a business name:
Navigate to the Application Builder home page.
Click Shared Components.ok
Under Logic, select Web Service References.
The Web Service References page appears.
Click Create.ok
When prompted whether to search a UDDI registry to find a WSDL, select Yes okand click Next.ok
For UDDI Location, select IBM UDDI okand click Next.ok
On Search:
For Search Type, select Business Name.ok
In Name, enter:
%xMethods%ok
Click Search.ok
At this point (Search), page returned is:
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "html" is not declared in the DTD Error at line 2
I don't know how to resolve this.
Thank you.
Albert.Hello Marco,
Ok on IBM. Thank you for pointing out the link on IBM shutting service.
But..., in an effort to complete the tutorial and confirm I have a working web service solution (anyone's implementation), I tried the alternatives as you suggested.
When I chose
Oracle (http://otn.oracle.com/uddiapi/inquiry) and search for %xMethod%
I get
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2
When I choose XMethods http://uddi.xmethods.net/inquire and search for %xMethod% or %stock% or stock (no percents)
I get
No service found
When I choose Microsoft, http://uddi.microsoft.com/inquire and search for %xMethod%
I get
No service found
I tried using an example from Microsoft site, (hoping they have a working solutionn) at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxpwst/html/odc_ofwstrex.asp, setting the uddi location to http://www.themindelectric.com/wsdl/net.xmethods.services.stockquote.StockQuote/ and the Business Name to getQuoteRequest1
didn't work, got:
ORA-31011: XML parsing failed ORA-19202: Error occurred in XML processing LPX-00104: Warning: element "HTML" is not declared in the DTD Error at line 2
changed to Service Name to getQuoteRequest1
didn't work, got same error message
So, if you (or someone) has a working solution, please post at your convenience.
Thank you.
Albert. -
NoSuchMethodError when trying to invoke web Service in Clustered Environmen
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
AshwiniI would ask this in the workshop newsgroup.
Ashwini Sharma wrote:
I have a Weblogic Web Service that calls another Weblogic Web Service through the use of a Web Service Control.
(Both the services are deployed in Weblogic 10.0)
My Web Serivce works fine when deployed on Admin Server, but when it is deployed in managed server, it throws a NoSuchMethodError when i try to call this Service. (Through weblogic test client or any other web service testing tool).
I have verified that it is because of the presence of web service control, but i dont have any resolution for that.
Here below is the stack trace of the error that i am getting.
java.lang.NoSuchMethodError: com.bea.wlw.util.internal.WlwLogger.debug(Ljava/lang/Object;)V
at weblogic.controls.jws.ControlListener.onCreate(ControlListener.java:84)
at weblogic.wsee.jws.container.CompositeListener.onCreate(CompositeListener.java:55)
at weblogic.wsee.jws.container.Container.init(Container.java:123)
at weblogic.wsee.jws.container.Container.<init>(Container.java:79)
at weblogic.wsee.jws.container.ContainerFactory.createContainer(ContainerFactory.java:51)
at weblogic.wsee.jws.container.ContainerFactory.getContainer(ContainerFactory.java:31)
at weblogic.wsee.jws.container.ContainerHandler.getContainer(ContainerHandler.java:40)
at weblogic.wsee.jws.container.ContainerHandler.handleRequest(ContainerHandler.java:27)
at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:123)
at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:257)
at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:226)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:124)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3370)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2117)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2023)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
Please help..
Ashwini -
Errors when trying to activate web service
Has anybody encountered an HTTP 500 error while trying to activate a webservice based on a business object from one of the SAP namespaces?
The error that I am getting is: HTTP 500 (InternalServerError) - Dump or unhandled exception in backend.Yes we have the same Problem. Are you using Association in your BO?
The Problem is known
This was defect in the code while trying to include
Cross Bo associations in Read Operation.
This was fixed in FP26 with Hotfix HZEK001337.
This is not yet imported into VQ3.
Solution: Wait till VQ3 is supplied with this week's hotfixes
or try to generate service without Cross BO associations till hotfix
is imported into VQ3. -
Getting error in admin console when trying to expand web applications node
Hi
Thank you for reading my post
I get the folowing page as result when i try to expand the web applications node in application server admin console.
A "com.sun.enterprise.tools.guiframework.exception.FrameworkError" was caught. The message from the exception: "Unable to get View for ViewDescriptor 'webApplications'"
The root cause is "com.sun.enterprise.admin.common.exception.MBeanConfigException: Component not registered"
See the HTML source for more detailed (stack trace) information.
what should i do ?
ThanksCheck this thread in the app server forum
http://swforum.sun.com/jive/thread.jspa?forumID=130&threadID=56332
Maybe you are looking for
-
Mid 2008 Macbook Pro 15" doesn't turn on
Hi everyone, I have come to these boards pretty much out of desperation. My MBP died on me yesterday and I'm looking for ideas on how to fix it. I guess I'm hoping I can find a solution other than having to replace the motherboard as I'm quite fond o
-
ID CS5 crashes when opening older ID file
I am attempting to open an ID file started in 2007 and edited in 2008. CS5 crashes after a few seconds in this attempt. Is there a magic bullet to fix this? This is not the first time, but I found an output pdf and used those compoments to rebuild th
-
Hey guys, i am working on an inDesign extension. i have a requirement to go through the document elements. i was able to get all pageItem objects on a doc page. i am now trying to figure out what is the type of each pageItem so i am using the followi
-
Whenever I call my voicemail or 101 to check voice messages, it rings until a voice says "the number I have called is unavailable from this service" and tells me to enquire something. Ringing other numbers and texting is working fine, except voicemai
-
Is it possible to encode using the x264 codec instead of the mainconcept codec?' greg