Publish PL/SQL with Web Service with errors ...

Good day, I installed on my pc the example of the following link:
http://www.oracle.com/technology/tech/webservices/htdocs/series/plsql/index.html
Unfortunately, when try to perform it on the window where running Oracle9iAS comes restored the following mistake :
Node started with id=-1716454166
Oracle9iAS (9.0.3.0.0) Containers for J2EE initialized
java.lang.NullPointerException
at oracle.jdbc.driver.LRUStatementCache.searchExplicitCache(LRUStatement
Cache.java:654)
at oracle.jdbc.driver.OracleConnection.getStatementWithKey(OracleConnect
ion.java:4347)
at sqlj.runtime.ExecutionContext$OracleContext.prepareOracleStatement(Ex
ecutionContext.java:1397)
at rocco.Company.addemp(Company.sqlj:42)
at rocco.__CompanySPWrapper.invokeMethod(__CompanySPWrapper.java:73)
at oracle.j2ee.ws.InvocationWrapper.invoke(InvocationWrapper.java:108)
at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
hain.java:65)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
stDispatcher.java:560)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
vletRequestDispatcher.java:306)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
tHandler.java:767)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:259)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
va:106)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExec
utor.java:797)
at java.lang.Thread.run(Unknown Source)
and on the JDeveloper window show the mistake:
C:\jdev\jdk\bin\javaw.exe -ojvm -classpath C:\jdev project\PLSQL\Project1\classes;C:\jdev\jdev\lib\jdev-rt.jar;C:\jdev\sqlj\lib\runtime12.jar;C:\jdev\jdbc\lib\classes12.jar;C:\jdev\jdbc\lib\nls_charset12.jar;C:\jdev\jdev\lib\jdev-rt.jar;C:\jdev\soap\lib\soap.jar;C:\jdev\lib\xmlparserv2.jar;C:\jdev\jlib\javax-ssl-1_2.jar;C:\jdev\jlib\jssl-1_2.jar;C:\jdev\j2ee\home\lib\activation.jar;C:\jdev\j2ee\home\lib\mail.jar;C:\jdev\j2ee\home\lib\http_client.jar mypackage1.RoccoCompanyWebServiceStub
[SOAPException: faultCode=SOAP-ENV:Server; msg=[SOAPException: faultCode=SOAP-ENV:Server; msg=]]
     void mypackage1.RoccoCompanyWebServiceStub.addemp(rocco.Employee)
          RoccoCompanyWebServiceStub.java:164
     void mypackage1.RoccoCompanyWebServiceStub.main(java.lang.String[])
          RoccoCompanyWebServiceStub.java:59
Process exited with exit code 0.
It seems been depicted all correctly, but although this do not succeed to complete the tutorial with the test puts into practice.
Someone it is able to be me of help.
Thanks one thousand.
:-(

Hi,
there is a tutorial:
http://www.oracle.com/technology/obe/obe1013jdev/10131/wsfromplsqlpackage/devwsfrom%20plsql.htm
"Developing a Web Service from a PL/SQL Package"
I think you need Oracle AS, because you need an instance which "talks" http....

Similar Messages

  • Publish PL/SQL as Web Service

    I am new to Oracle Web Service. I went through Publish PL/SQL as Web Service tutorial and tested from browser. When I tested by
    http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService
    I got following message:
    "Error parsing the WSDL for this endpoint.
    oracle.wsdl.internal.WSDLException: oracle.xml.parser.v2.XMLParseException: Start of root element expected."
    I was able to display WSDL somehow by
    http://127.0.0.1:8888/PLSQL-PLSQL-context-root/my.CompanyWebService?WSDL
    I have no clue what is the problem. Please help.
    Thanks.
    Yi Zhou
    [email protected]

    Hi,
    The problem could be because of wrong JDK version. Looks like you are using JDK1.4.2. Could you try checking with JDK 1.3.x
    If you still face problems, specify your environment details and at what stage you are getting the error.
    Sujatha.

  • Invoking a bpm process with web services with a return value

    Hello,
    Im invoking a bpm process in my application using web services. The problem is that I want to get a responde with the process id of the created process, but not wait for the finishing of the process. Is this possible?
    thank you

    Assuming this is for Oracle BPM 11g.
    I'm a novice at this and sure others will have infinitely better ideas (have I lowered your expectations enough?), but here are two thoughts. Both of these ideas assume that your child process was invoked by an Oracle BPM parent process.
    When you expose a process as a web service and invoke it asynchronously from a parent process, there is a call back service available. I've yet to figure out exactly how to get it to work, but if you look at the "Start" event's property in the composite (it's the service) you will see the callback information in the bottom dropdown. I believe what this means is that from your child process, you can use a Service activity to invoke a service that invokes the callback service back to the parent process's Service activity.
    My other idea (you're not going to like this one) would be to to invoke the subprocess using a Message Start Event activity instead of the Service activity you're currently using. If you go this route, then you could have your parent process kick off the child subprocess using a Message Start Event activity and then immediately after this have a Message Catch Event activity. The child process could have a Message Throw Event activity immediately after its Start Message Event activity that sends a notification to the parent process. The good part about this is that I've actually gotten this to work.
    You can send argument information back to the parent process, but (sorry) I don't yet know how to capture the process id.
    Wish I could be of more help and hope this helps a little.

  • Publishing pl/sql as web services using axis

    Hello,
    I am a newbie to web services.
    I want to publish pl/sql packages as web services using axis and tomcat. Can you please tell me where to start - I will appreciate any information, links to tutorials and docs. Can you please tell me what I need to deploy and run the services.
    Thank you very much in advance!
    Eka

    Hello,
    The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
    If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
    Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    and you can use advanced features of JDBC and JPublisher if needed:
    Simplifying Database Access
    Regards
    Tugdual Grall

  • Publishing pl/sql as web service without AS or OC4J

    Hi,
    I've read about new Native Web Services in Oracle 11g and I like the idea.
    But how to do similar approach in 10g or even 9.2 database?
    I would like to have database only web service without AS, but I cannot use 11g right now.
    I didn't find any discussion about the new native WS within 11g database. It's great, isn't?
    Libor

    Hello,
    The OracleAS Database Web Service is only available for OracleAS using the Oracle Web Service runtime and tools as documented here.
    If you are not using OracleAS or if you want to use another Web Service stack you can still manually program you Web Service manually using JDBC and is features.
    Here a generic article: http://www.onjava.com/pub/a/onjava/2003/08/13/stored_procedures.html
    and you can use advanced features of JDBC and JPublisher if needed:
    Simplifying Database Access
    Regards
    Tugdual Grall

  • Problem with web service, throwing errors.

    Hi all,
    Need help on this.
    I have deployed webservice on oc4j, and while testing it is throwing NoClassDefFound exception in oracle/jdbc/pool/OracleDataSource.class. I have java 1.6 and oracle 11g, so i included ojdbc6.jar in the classpath and also start up script of oc4j. This webservice is for fetching data for report.
    Please, help if you all have any idea on this....
    [050812_100816808][][STATEMENT] Setting data definition:BRM_Corporate_Invoice_Report type:oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11
    [050812_100816808][][STATEMENT] Setting data definition:Inv_POID type:oracle.apps.xdo.servlet.data.bind.ReportParameterBoundValue
    [050812_100816809][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [050812_100821057][][STATEMENT] Skip migration for cookie (ORA_XDO) is not found
    [050812_100821063][][STATEMENT] temp file is created: /usr/local/OracleBI/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/xdo/tmp/xmlp4145013901549814632tmp
    [050812_100821063][][STATEMENT] WebServiceBoundValue11::getValue userID = null
    [050812_100821064][][STATEMENT] username = approx
    [050812_100821064][][STATEMENT] WebServiceBoundValue11::getValue m_xpath = null
    [050812_100821082][][STATEMENT] Webservice time out: 60000
    [050812_100821088][][EXCEPTION] AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    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 oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    {http://xml.apache.org/axis/}hostname:MelITBRM
    Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    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 oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    [050812_100821088][][EXCEPTION] AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server
    faultSubcode:
    faultString: Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}stackTrace:Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    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 oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    {http://xml.apache.org/axis/}hostname:MelITBRM
    Caught exception while handling request: Caught exception while handling request: java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1345)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:213)
    at oracle.xml.jaxp.JXSAXParser.parse(JXSAXParser.java:292)
    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 oracle.apps.xdo.servlet.webservices.DynamicClient.invokeMethod(DynamicClient.java:179)
    at oracle.apps.xdo.servlet.data.server.WebServiceCall.doFetch(WebServiceCall.java:75)
    at oracle.apps.xdo.servlet.data.server.AbstractDataCall.execute(AbstractDataCall.java:63)
    at oracle.apps.xdo.servlet.data.bind.WebServiceBoundValue11.getValue(WebServiceBoundValue11.java:163)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportContextImplV11.java:412)
    at oracle.apps.xdo.servlet.CoreProcessor.process(CoreProcessor.java:211)
    at oracle.apps.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:81)
    at oracle.apps.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:572)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:270)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:266)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:246)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:174)
    at oracle.apps.xdo.servlet.XDOServlet.doPost(XDOServlet.java:197)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:100)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:621)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:619)
    Any Clue as to what gone missing.
    Regards,
    Anirban.

    Aks wrote:
    Hi all,
    I have java 1.6 and oracle 11g, so i included ojdbc6.jar in the classpath and also start up script of oc4j. Apparently the wrong classpath, since whatever code that wants to fetch or create a datasource does not have access to the classes in ojdbc6.jar.
    There is only one real course of action: read the OC4J manual to figure out how to properly work with datasources. Or post in the OC4J forum like you've already been doing recently...

  • Consuming web services with Attachments

    Hello,
    I need to consume a web service with attachements (mime type) from sap was j2ee 7.0 (nw2004s).
    When I try to generate the web service deployable proxy using nwds (version 7.0.06), I get the following error message
    "Invalid WSDL or WSDL not found, please specify different WSDL.."
    Removing references to"wsi:swaRef" from wsdl, above error is not displayd and wsdl is correctly processed
    <complexType name="ArrayOf_tns2_swaRef">
    - <sequence>
      <element maxOccurs="unbounded" minOccurs="0" name="swaRef" nillable="true" type="wsi:swaRef" />
      </sequence>
      </complexType>
    Unfortunately, we have not been able to find any SAP documentation (online help, oss note,,,) describing if SAP WAS Java 7.0 supports this standard.
    Has anybody already worked with Web Services with attachments ?
    Thanks in advace,
    Regards
    Berta

    hi berta,
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/ea656273b74cf386a1f29fc55721fd/frameset.htm
    HTTP error 406 when consuming a Web Service with attachment
    let me know u need any further info
    bvr

  • Web Services with Attachments

    Hello,
    I need to consume a web service with attachements (mime type) from sap was j2ee 7.0 (nw2004s).
    Unfortunately, we have not been able to find any SAP documentation (online help, oss note,,,) describing if SAP WAS Java 7.0 supports this standard, or how to generate ws proxies for consuming these web services.
    Has anybody already worked with Web Services with Attachments ?
    Thanks in advace,
    Regards
    Berta

    hi berta,
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/ea656273b74cf386a1f29fc55721fd/frameset.htm
    HTTP error 406 when consuming a Web Service with attachment
    let me know u need any further info
    bvr

  • Publish web services with SAP 7.1

    hello everybody,
    i'm working with a sap installation netweaver 7.1
    i want publish some functions as web services.
    I made it many time with NW 7.0 without problem.
    At the moment i'm using the same procedure:
    SE37 - function name - Utilities - create webservices, etc etc...
    SOAMANAGER - download wsdl etc etc
    for test wsdl , usually i use Eclipse or other wsdl client.
    when i publish webservices with 7.1 i have back errors from each client.
    Does procedure is changed??
    i'm missing something?

    Did you used WSPUBLISH transaction for publishing?
    You just configured service NOT published it. You can still configure it using SOAMANAGER just create service and endpoint (give any name) and it is done then you can use binding url for testing.
    If this doesn't help then my advice to re-read everything related to Webservice Configuration (do not read about publishing). You are confusing two different thing, YOU CAN'T PUBLISH SERVICE WITHOUT SR.
    Please read this and follow exact steps: http://help.sap.com/saphelp_nw70/helpdata/en/47/3971ff39591a53e10000000a1553f7/content.htm
    If you are creating using wizard in SE80/SE37 then skip publishing part of service.
    Regards,
    Gourav

  • Error while deploying when working with web service

    Hi friends,
    I am working with web service. When i try to run the build.xml, I'm receiving an error as follows:
    *[javac] D:\MyWorkspace\MyProjectWeb\Javasource\aaa\bbb\ccc\ws\endpoint\ListenerServiceEndpoint.java:27: package org.springframework.ws.server.endpoint does not exist
    [javac] import org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint;
    [javac] ^ *
    Could anyone please help me in getting this solved??
    Thanks in Advance,
    Robis

    Pretty self-explanatory - the Spring framework jars are missing from the classpath used in compilation.
    If you don't have them, get them from www.springframework.org.

  • Web services with JDeveloper - serialization error

    Dear all,
    I have an issue with web services created with JDeveloper 10.1.3.2.0.
    Namely, this is what I do:
    1. I've created some TopLink classes from tables; one of this classes is called Task (and it's located in a package called "integration")
    2. I've created another class, called Integration, where I use these TopLink classes; in this new class I have a method called getTasksStatus, which returns an ArrayList containing Task objects
    3. I've created a web service from this class (Integration) by right-clicking on the class name in Applications Navigator and choosing Create J2EE Web Service.
    When I call the method getTasksStatus from the test web service (endpoint),
    I get this error:
    Oct 8, 2007 7:14:30 PM oracle.webservices.service
    SEVERE: serialization error: no serializer is registered for (class integration.Task, null) serialization error: no serializer is registered for (class integration.Task, null)
    When I call a method which returns a primitive type, everything is fine.
    I understand the problem, but I don't know a solution yet. Could you please help ?
    Thank you,
    Best regards,
    Sorin

    One solution to this problem is to make sure that the complex type you are using in yous service interface do implement the JAVA Bean as per the spec (at least Oracle's interpretation of it).
    You need to have getter/setter for all members and you need to have an empty ctor() to create new instances of your objects. In some cases, the design time let you get by, but the runtime fails in the code generation.
    In your case, the 'Task' class may have some issue.
    Hope it helps,
    -eric

  • SSIS Web Service Task Error with WCF Service

    I have read all the other posts on this site and have not been able to resolve my issue.
    For testing purposes i created a very simple WCF service that takes no arguments and returns true.  That is all it does.
    When i create a winform client and instantiate the service i can run my service method and get true back so i know the service works.
    I then create a test SSIS package with 1 task, a web service task. 
    I set the web service tasks properties as follows:
    http connection: http://localhost/WCF_SSIS_Prototype/Service1.svc
    wsdl file: C:\...\SSIS_WCF_Prototype\Service1.wsdl  (I know this is not a valid path, i changed it for posting to forum)
    Service: Service1
    Method: GetData
    Variable: User::BResult
    When i run the package i get the following error:
    [Web Service Task] Error: An error occurred with the following error message: "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: Could not execute the Web method. The error is: Method 'ProxyNamespace.Service1.GetData' not found..    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection)    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()".
    I'm not sure why it is saying "Method 'ProxyNamespace.Service1.GetData' not found.  It the web service task trying to create a proxy class and naming the proxy class namespace ProxyNamespace? 
    Any help is greatly appreciated.

    Hi,
    How  do you get around the same issue if your string type is based on a client token ?  I downloaded the .wsdl file, was able to see the service name, method and when selecting a method type, I am required to provide a client token which was given
    to me.  (Name column = clienttoken, Type = string, Value = 2227656 - ec8922 (client token numbers goes there)?  I am new to use ssis and need your help please
    error message:  Web Service Task] Error: An error occurred with the following error message:
    "Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebserviceTaskException: The web serrvice threw an error during method execution. The error is: An error occurred
    when verifying security fro the message..   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebMethodInvokerProxy.InvokeMethod(DTSWebMethodInfo methodInfo, String serviceName, Object connection)   
    at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTaskUtil.Invoke(DTSWebMethodInfo methodInfo, String serviceName, Object connection) 
     at Microsoft.SqlServer.Dts.Tasks.WebServiceTask.WebServiceTask.executeThread()"
    Thank you and regards,
    Bili

  • Error Hex 0xFFFEF84D (web services with control system application)

    Hello,
    I'm trying to deploy a web service and it appears that when I use an element from the Control Design and Simulation panel I get the following error:
    "Error LabVIEW:  (Hex 0xFFFEF84D) LabVIEW Web Services: An error occurred when extracting the deployed Web service. occurred. "
    I can't convert the hex number to anything meaningful that I can search with.
    any help out there?
    Solved!
    Go to Solution.

    Hi Matt,
    I've attached an simplified example of where it seems to crash. It's a simple set-up: input to mathscript which runs a step function. I've tried to change the build parameters but can't seem to get it to work.
    Attachments:
    testwithctl.vi ‏34 KB

  • Web services with servicegen i Weblogic 7

    I am trying to create web services with Weblogic's tool servicegen and
    ANT. It works great until I have a web service method that return a PK
    class of an EJB. I get the error "Error: bean property and public
    field found with the same name: id" (full stacktrace below). After
    some investigating I found out that it was my PK class that was the
    bad guy. But my PK class MUST have the field "id" public, otherwise
    ejbc complains...
    Am I doing anything wrong or does anyone have a solution?
    /Weasel
    webservices:
    [servicegen] Generating service "HelloWorldEJB" ...
    [servicegen] Generating XML types and serializers from ejb-jar
    (E:\java\projects\CMP20CMR-xdoclet\build\ejb\weblogic-ejb\samples-ejb.jar)
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:356)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    [servicegen] --- Nested Exception ---
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:157)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:100)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:350)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    [servicegen] --- Nested Exception ---
    [servicegen] weblogic.xml.schema.binding.BindingException: Error: bean
    property and public field found with the same name: id
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.checkForFieldConflict(JavaInspector.java:384)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.addPropertiesToScalar(JavaInspector.java:345)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.fillDescriptor(JavaInspector.java:152)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.getDescriptor(JavaInspector.java:115)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.JavaInspector.createDescriptorForClass(JavaInspector.java:90)
    [servicegen]      at weblogic.xml.schema.binding.internal.codegen.Compiler.compile(Compiler.java:121)
    [servicegen]      at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:88)
    [servicegen]      at weblogic.xml.schema.binding.internal.XSDTypeMappingBuilder.mapClass(XSDTypeMappingBuilder.java:101)
    [servicegen]      at weblogic.xml.schema.binding.internal.TypeMappingBuilderBase.addMapping(TypeMappingBuilderBase.java:176)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.addMapping(ComponentAutoTyper.java:85)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.ComponentAutoTyper.mapComponent(ComponentAutoTyper.java:113)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.EJBAutoTyper.run(EJBAutoTyper.java:100)
    [servicegen]      at weblogic.ant.taskdefs.webservices.autotype.AutoTypeTask.execute(AutoTypeTask.java:350)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.generateService(ServiceGenTask.java:248)
    [servicegen]      at weblogic.ant.taskdefs.webservices.servicegen.ServiceGenTask.execute(ServiceGenTask.java:141)
    [servicegen]      at org.apache.tools.ant.Task.perform(Task.java)
    [servicegen]      at org.apache.tools.ant.Target.execute(Target.java)
    [servicegen]      at org.apache.tools.ant.Target.performTasks(Target.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTarget(Project.java)
    [servicegen]      at org.apache.tools.ant.Project.executeTargets(Project.java)
    [servicegen]      at org.apache.tools.ant.Main.runBuild(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.start(Main.java)
    [servicegen]      at org.apache.tools.ant.Main.main(Main.java)
    BUILD FAILED
    E:\java\projects\CMP20CMR-xdoclet\script\build.xml:498:
    weblogic.xml.schema.binding.BindingException: Error: bean property and
    public field found with the same name: id

    Web services can only be published to BEA if you install Apache SOAP on BEA and use the Apache SOAP option of JDeveloper. The J2EE Web Services implementation framework is specific to Oracle9iAS.
    The PL/SQL Web Services server implementation is based on the J2EE Web Services option and as a result is not really portable to BEA.
    To publish a PL/SQL Web service on BEA with JDeveloper you would have to write the Java wrapper code to invoke the stored procedure using standard JDBC and then publish that Java class as a Web service using Apache SOAP. Then if you had Apache SOAP installed on BEA you would be set.
    Portability of Web services implementations is a big feature coming with JAX-RPC - currently what most vendors have is interoperability between implementations because of things like SOAPBuilders and WS-I. When JAX-RPC becomes part of J2EE 1.4 roughly in June and vendors start putting out implementations on it you should get closer to portability.
    In the meantime, the easiest way to get portability is to use the same SOAP server on both servers - Apache SOAP is a good example.
    Hope this helps.
    Mike

  • Calling Reporting Services Web Service with jQuery possible?

    Hi,
    is it possible to call the Reporting Services Web Service with jQuery? If yes, can someone post me a small example?
    Background:
    My plan is to create a html with a form which is also uploaded then into the reportserver. I open this html later by clicking a link in a report (with gotoURL open.window). The report opens the html inclusive the overtaken of some additional parameters
    (reportname, reportdescription). These parameters I will use in the html-form as defaultvalues for the corresponding input-text-fields. Now the user can make some changes (i.e. the decription). With a click on a button I will send the new description to
    the Reporting Services Web Service by using the SetProperties method, closing the html-window and reload the report. Important is that I want to upload the html also into the reportserver itself.
    I have already found how to consume a web service via jQuery but with the Reporting Services Web Service I did not get it running in my tests.
    I have referenced to the following jQuery.js: http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
    Here you can see my tests I made with the results:
    $.ajax({
    type: 'POST',
    url: 'http://<..>/ReportServer/ReportService2010.asmx/ListChildren',
    data: {'ItemPath':'/','Recursive':false},
    complete: function(xData, status) {
    $('p').html($(xData.responseXML).text()); // result
    $("#divStatus").text( status ); // status }
    I got a NULL response with Status success. But where are the items?
    Another test which should response only one value was that:
    $.ajax({
    type: "POST",
    contentType: "text/xml; charset=utf-8",
    url: "http://<..>/ReportServer/ReportService2010.asmx/GetItemType",
    data: {"Item":"/Development"}, // Development is a Folder in my Reportserver-Root
    dataType: "xml",
    success: function (msg) {
    $("#divResult").html(msg.responseXML);
    error: function (data, status, error) {
    $("#divResult").html("WebSerivce unreachable<br> <br>" + data.responseXML + "<br> <br>(" + error + ")");
    Here I got an [object Error]
    And here my last test:
    var soapMessage = '<?xml version="1.0" encoding="utf-8"?>\
    <soap:Envelope \
    xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" \
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" \
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">\
    <soap:Body>\
    <GetItemType xmlns="http://www.microsoft.com/sql/ReportingServer">\
    <ItemPath>/Development</ItemPath>\
    </GetItemType>\
    </soap:Body>\
    </soap:Envelope>';
    $.ajax({
    type: "POST",
    contentType: "text/xml; charset=utf-8",
    url: http://<..>/ReportServer/ReportService2010.asmx?wsdl,
    data: soapMessage,
    dataType: "xml",
    success: processSuccess,
    error: processError
    function processSuccess(data, status, req) {
    if (status == "success")
    $("#response").text($(req.responseXML).find("Type").text());
    function processError(data, status, req) {
    alert(req.responseText + " " + status);
    Here I got an "Undefined error"
    Can anyone help me?
    Thanks
    René Illner

    Hi Rene,
    I have one vbscript class to call web services. May be if you need you can use it.
         dim ws
         set ws = new webservice
         ws.url = "http://servername/ReportServer/ReportService2010.asmx"
         ws.method = "MethodName"
         ws.parameters.Add "Parameter1", "Param1 Desc.."
         ws.parameters.Add "Parameter2","[email protected].."
         ws.execute
         set ws = nothing
    '------web service calling class
    class WebService
      public Url
      public Method
      public Response
      public Parameters
      public function execute()
        dim xmlhttp
        Set xmlhttp = CreateObject("Microsoft.XMLHTTP")
        xmlhttp.open "POST", Url & "/" & Method, false
        xmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
        xmlhttp.send Parameters.toString
        response = xmlhttp.responseText
        set xmlhttp = nothing
      end function
      Private Sub Class_Initialize()
        Set Parameters = new wsParameters
      End Sub
      Private Sub Class_Terminate()
        Set Parameters = Nothing
      End Sub
    End class
    class wsParameters
      public mCol
      public function toString()
        dim nItem
        dim buffer
        buffer = ""
        for nItem = 1 to Count
          buffer = buffer & Item(nItem).toString & "&"
        next
        if right(buffer,1)="&" then
          buffer = left(buffer,len(buffer)-1)
        end if
        toString = buffer
      end function
      public sub Clear
        set mcol = nothing
        Set mCol = CreateObject("Scripting.Dictionary")
      end sub
      public sub Add(pKey,pValue)
        dim newParameter
        set newParameter = new wsParameter
        newParameter.Key = pKey
        newParameter.Value = pValue
        mCol.Add mCol.count+1, newParameter
        set newParameter = nothing
      end sub
      public function Item(nKey)
        set Item=mCol.Item(nKey)
      end function
      public function ExistsXKey(pKey)
        dim nItem
        for nItem = 1 to mcol.count
          if mCol.Item(nItem).key = pKey then
            ExistsXKeyword = true
            exit for
          end if
        next
      end function
      public sub Remove(nKey)
        mCol.Remove(nKey)
      end sub
      public function Count()
        Count=mCol.count
      end function
      Private Sub Class_Initialize()
        Set mCol = CreateObject("Scripting.Dictionary")
      End Sub
      Private Sub Class_Terminate()
        Set mCol = Nothing
      End Sub
    end class
    class wsParameter
       public Key
       public Value
       public function toString()
         toString = Key & "=" & Value
       end function
    end class
    Regards, RSingh

Maybe you are looking for