Web services test using WS Navigator doesnot return field values
Hi experts,
We are running ECC 6 (NW 7 Ehp1) ABAP stack and NW CE 7.1 with Java stack (J2EE Engine 7.11). We are trying to test web services using WS Navigator. We can logon to WS Navigator and perform the test. The test shows a success return code, however, it doesn't bring back field values. We can see the values when we perform this test within ABAP stack. A sample of WS Navigator XML log for the service test is as below:
<?xml version="1.0" encoding="utf-8"?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
<soap-env:Header/>
<soap-env:Body>
<n0:ZcGetCustomerInfoResponse xmlns:n0="urn:sap-com:document:sap:soap:functions:mc-style">
<OKna1>
<Mandt/>
<Kunnr/>
<Land1/>
<Name1/>
<Name2/>
<Ort01/>
<Pstlz/>
<Regio/>
<Sortl/>
u2026
<MessageV3/>
<MessageV4/>
<Parameter/>
<Row>0</Row>
<Field/>
<System/>
</Return>
</n0:ZcGetCustomerInfoResponse>
</soap-env:Body>
</soap-env:Envelope>
If someone can provide insight why is this happening, I would greatly appreciate it.
Regards
Nirmal
Wondering if I posted this in the wrong forum. Can someone please guide me if it is the wrong forum for this question.
Thanks
Nirmal
Similar Messages
-
SQL Select using LEFT OUTER JOIN returning field values when I expect NULL
I am having problems with this select statement:
SELECT distinct pl.id, th.trip, pc.country, pph.location
FROM people_list pl, people_travelhistory th, people_country pc
LEFT OUTER JOIN people_info pph on pph.id=pl.id and pph.country=pc.country
where people_list.active='Y' and people_list.id=th.id and th.trip = pc.trip;
The criteria is that the pph table may not have no record for that id and country.
The problem is that the pph.location field is returned with data even when no matching record for that id or country exists.
If the record doesn't exist in the pph table, I want pph.location = NULL
What am I doing wrong?
Thanks in Advance!
DeveloperHi, You can try this :
SELECT distinct pl.id, th.trip, pc.country, pph.location
FROM people_list pl, people_travelhistory th, people_country pc
left outer join people_info pph on pph.id = pl.id
left outer join people_country pc on pc.country = pph.country
left outer join people_travelhistory th on th.id = pl.id
where pl.active='Y' and th.trip = pc.trip;
Knowing that you requesting people active that have travelled to their own country.
Regards -
Web Service Tester not sending parameter to Session bean?
Hi,
I've implemented an EJB3 entity bean, a stateless session bean and used the @WebService annotation to make it accessible.
It deployed fine, and everything seems to work. I use the web service tester to test the methods.
The findDepartments() method works fine (it doesn't take any input).
However, this method does not work:
* Find a specific department
public Department findDepartment(BigDecimal pk)
System.out.println("Incoming pk="+pk);
return em.find(Department.class, pk);
}Incoming pk is always null. Is there a bug in the WebService tester or something?Hmm, ok so this is a bug? As of now the tester page does not support value objects as parameters / return types. Agreed that the error message should be more useful :(
I do get the same error if I use another soap client
though, so I find it kind of strange.This is different though. In this case, is the request received at the service side at all ? Which version of app server are you using ? What kind of service is this ? JAXRPC or JAXWS ? -
Please help. I am looking for an html based web service tester.
I need to input the SOAP 1.1 formatted xml in something like a text
box and send it to the service without passing through a soap client.
The return should simply display the xml from the service (fault or
not).
I'm guessing that I can not use the usual HTML get or post because the
xml would end up inside a parameter instead of standing alone when it
arrives at the server.
Thanks
JohnThanks but that uses a client to build a message.
I already have the xml message and want to deliver it to the service with little or no overhead. I would normally just use a JSP but this is a typical rush situation and I don't have the days it takes to get a new JSP deployed into our environment.
John -
Create Web Service System using WSDL URL
Hi,
Please help me create a Web Service System.
Following is the test result when I perform Connection Test after creating a system
Test Connection with Connector
Test Details:
The test consists of the following steps:
1. Retrieve the default alias of the system
2. Check the connection to the backend application using the connector defined in this system object
Results
Retrieval of default alias successful
Connection failed. Make sure that Single Sign-On is configured correctly
Thanks,
AtulLet me reiterate my problem.
I created the System as following
Creating System's Object:
1) Go to System Administration
2) Go to System Configuration
3) Go to Portal Content on Object Based Navigation Area (Right Side Panel)
Note: For avoiding confusion it is recommended to create a folder in which we are creating System Object.
4) Right Click on Portal Content, select New -> System (from Template)
5) This action will display a new view on right side, now choose Web Service System using WSDL URL radio button from the existing templates. Click Next
6) Give the System Name i.e. System_WS and System Id (which are mandatory fields) incase you want to give any brief notes about the system then give it in Description field. Click Finish.
8) Choose Open the object for editing Click OK.
9) Now to create a Web Service System, we need WSDL URL.
10) There are lots of freely available WSDL files on internet, search for any such WSDL file.
11) In the Properties area of system give the appropriate WSDL URL
12) Choose System alias, from display menu and give alias as System_WS.
This alias name will be the name of Web Service System.
I used the following url
http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
After the system is created,
1) Right click on the created system> open > object
2) Drop down for Display options is changed to Connection Tests from what it shows as object
3) Check the check box for the test name Connection Test for Connectors
4) Result shows that the connection failed. The error message was posted in my first question.
Thanks,
Atul -
Unable to open web service tester page
Hi
I'm three days trying to resolve this problem. I 'dont find a solution. I'm using ejb3.0 and web service. When I test the the application show me the messages Unable to open web service tester page. The application server is start up.
I'm trying this example. http://www.netbeans.org/download/flash/platform_55/platform_ws/
When I try to deploy the application show me this error.
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\;C:\Archivos de programa\subversion-1.3.2\;C:\Archivos de programa\Subversion\bin;C:\Archivos de programa\QuickTime\QTSystem\;;;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/Sun/AppServer
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/Sun/AppServer/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start|#]
Starting Sun Java System Application Server Platform Edition 9.0 (build b48) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://dani:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
autoDeployment status dir missing, creating a new one
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\MEjbApp.ear for autodeployment.
deployed with moduleid = MEjbApp
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\MEjbApp.ear.
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear for autodeployment.
deployed with moduleid = __ejb_container_timer_app
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\__ejb_container_timer_app.ear.
[AutoDeploy] Selecting file C:\Sun\AppServer\lib\install\applications\__JWSappclients.ear for autodeployment.
deployed with moduleid = __JWSappclients
[AutoDeploy] Successfully autodeployed : C:\Sun\AppServer\lib\install\applications\__JWSappclients.ear.
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
sending notification to server...server
CORE5051: Shutting down all J2EE applications ...
CORE 5060 : Stopping all J2EE Connector 1.5 Compliant resource adapters ...
CORE 5061 : Resource adapters Stop() Complete
CORE5052: Application shutdown complete.
[AutoDeploy] Disabling AutoDeployment service.
WEB0303: Stopping Sun-Java-System/Application-Server.
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0713: Stopping Sun-Java-System/Application-Server HTTP/1.1 on 4848
Waiting for 1 instance(s) to be deallocated
Waiting for 1 instance(s) to be deallocated
Waiting for 1 instance(s) to be deallocated
C:/Sun/AppServer/jdk\bin\java
-client
-Xmx512m
-XX:NewRatio=2
-Dcom.sun.aas.defaultLogFile=C:/Sun/AppServer/domains/domain1/logs/server.log
-Djava.endorsed.dirs=C:/Sun/AppServer/lib/endorsed
-Djava.security.policy=C:/Sun/AppServer/domains/domain1/config/server.policy
-Djava.security.auth.login.config=C:/Sun/AppServer/domains/domain1/config/login.conf
-Dsun.rmi.dgc.server.gcInterval=3600000
-Dsun.rmi.dgc.client.gcInterval=3600000
-Djavax.net.ssl.keyStore=C:/Sun/AppServer/domains/domain1/config/keystore.jks
-Djavax.net.ssl.trustStore=C:/Sun/AppServer/domains/domain1/config/cacerts.jks
-Djava.ext.dirs=C:/Sun/AppServer/jdk/jre/lib/ext;C:/Sun/AppServer/domains/domain1/lib/ext;C:/Sun/AppServer/javadb/lib
-Djdbc.drivers=org.apache.derby.jdbc.ClientDriver
-Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder
-Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory
-Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar
-Dcom.sun.enterprise.taglisteners=jsf-impl.jar
-Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar
-Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar
-Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Dcom.sun.aas.configName=server-config
-Ddomain.name=domain1
-Djmx.invoke.getters=true
-Dcom.sun.aas.promptForIdentity=true
-Dcom.sun.aas.classloader.optionalOverrideableChain.ee=
-Dcom.sun.aas.instanceRoot=C:/Sun/AppServer/domains/domain1
-Dcom.sun.aas.domainName=domain1
-Dcom.sun.aas.classloader.sharedChainJars=javaee.jar,C:/Sun/AppServer/jdk/lib/tools.jar,install/applications/jmsra/imqjmsra.jar,commons-launcher.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/imq/lib/imqxm.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,appserv-ws.jar,mail.jar,jsf-api.jar,jsf-impl.jar,appserv-jstl.jar,appserv-env.jar,jmxremote_optional.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,commons-logging.jar,activation.jar,appserv-rt.jar,appserv-admin.jar,appserv-cmp.jar
-Dcom.sun.aas.classloader.sharedChainJars.ee=appserv-se.jar,appserv-ee.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbjdbc4.jar,jgroups-all.jar,C:/Sun/AppServer/lib/SUNWmfwk/lib/mfwk_instrum_tk.jar
-Djava.util.logging.manager=com.sun.enterprise.server.logging.ServerLogManager
-Dcom.sun.enterprise.overrideablejavaxpackages=javax.xml.bind,javax.help,javax.portlet
-Dcom.sun.aas.classloader.serverClassPath=C:/Sun/AppServer/lib/install/applications/jmsra/imqjmsra.jar,C:/Sun/AppServer/imq/lib/jaxm-api.jar,C:/Sun/AppServer/imq/lib/fscontext.jar,C:/Sun/AppServer/imq/lib/imqbroker.jar,C:/Sun/AppServer/imq/lib/imqjmx.jar,C:/Sun/AppServer/lib/ant/lib/ant.jar,C:/Sun/AppServer/lib/SUNWjdmk/5.1/lib/jdmkrt.jar
-Dcom.sun.aas.classloader.appserverChainJars.ee=
-Dcom.sun.aas.configRoot=C:/Sun/AppServer/config
-Djava.library.path=C:\Sun\AppServer\lib;C:\Sun\AppServer\lib;C:\Sun\AppServer\jdk\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\Sun\AppServer\lib;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\Sun\AppServer\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Archivos de programa\Microsoft SQL Server\80\Tools\Binn\;C:\Archivos de programa\subversion-1.3.2\;C:\Archivos de programa\Subversion\bin;C:\Archivos de programa\QuickTime\QTSystem\;;;
-Dcom.sun.aas.instanceName=server
-Dcom.sun.aas.processLauncher=SE
-Dcom.sun.aas.installRoot=C:/Sun/AppServer
-Dcom.sun.aas.ClassPathPrefix=
-Dcom.sun.aas.ClassPathSuffix=C:\Sun\AppServer\domains\domain1\lib\mysql-connector-java-3.1.12-bin.jar
-Dcom.sun.aas.ServerClassPath=
-cp
;C:/Sun/AppServer/lib/appserv-launch.jar
com.sun.enterprise.server.PELaunch
start|#]
Starting Sun Java System Application Server Platform Edition 9.0 (build b48) ...
CORE5098: AS Socket Service Initialization has been completed.
CORE5076: Using [Java HotSpot(TM) Client VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
SEC1002: Security Manager is OFF.
ADM0001:MBeanServer initialized successfully
SEC1143: Loading policy provider com.sun.enterprise.security.provider.PolicyWrapper.
sgmt.service_initialized
ADM1079: Initialization of AMX MBeans successful
ADM1504: Here is the JMXServiceURL for the Standard JMXConnectorServer: [service:jmx:rmi:///jndi/rmi://dani:8686/jmxrmi]. This is where the remote administrative clients should connect using the standard JMX connectors
ADM1506: Status of Standard JMX Connector: Active = [true]
SMGT0007: Self Management Rules service is enabled
Application server startup complete.
WEB0302: Starting Sun-Java-System/Application-Server.
WEB0100: Loading web module [__default-admingui] in virtual server [__asadmin] at [/]
WEB0100: Loading web module [adminapp] in virtual server [__asadmin] at [/web1]
WEB0100: Loading web module [admingui] in virtual server [__asadmin] at [/asadmin]
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/asadmin'
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context ''
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8080
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8181
WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 4848
About to load the system app: __JWSappclients
WEB0100: Loading web module [__JWSappclients:sys.war] in virtual server [server] at [/__JWSappclients]
ADM1041:Sent the event to instance:[ResourceDeployEvent -- reference-added jdbc/aae]
CORE5004: Resource Deployed: [jdbc:aae].
wsgen successful
DPL5306:Servlet Web Service Endpoint [AAEWebService] listening at address [http://dani:8080/WebAAEstates/AAEWebServiceService]
deployed with moduleid = WebAAEstates
WEB0100: Loading web module [WebAAEstates] in virtual server [server] at [/WebAAEstates]
naming.bind
topLink_version
application_server_name_and_version
login_successful
Initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/WebAAEstates'
Completed initializing Sun's JavaServer Faces implementation (1.2-b20-FCS) for context '/WebAAEstates'
exception caught
javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
Servlet web service endpoint 'AAEWebService' failure
java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
... 34 more
|#]
StandardWrapperValve[AAEWebService]: Allocate exception for servlet AAEWebService
javax.servlet.ServletException
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:273)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
Caused by: java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
... 26 more
Caused by: javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
... 34 more
|#]
exception caught
javax.naming.NameNotFoundException
at com.sun.enterprise.naming.TransientContext.resolveContext(TransientContext.java:255)
at com.sun.enterprise.naming.TransientContext.lookup(TransientContext.java:178)
at com.sun.enterprise.naming.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:61)
at com.sun.enterprise.naming.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:98)
at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:309)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:43)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.enterprise.webservice.JAXWSServlet.registerEndpoint(JAXWSServlet.java:291)
at com.sun.enterprise.webservice.JAXWSServlet.doInit(JAXWSServlet.java:265)
at com.sun.enterprise.webservice.JAXWSServlet.init(JAXWSServlet.java:108)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1133)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:787)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:183)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
|#]
Servlet web service endpoint 'AAEWebService' failure
java.lang.RuntimeException: javax.naming.NameNotFoundException
at org.aae.jose.bd.AAEWebService.<init>(AAEWebService.java:50)
at sun.reflect.NativeConstructorAccessorImpl.newIn  Hello,
you can check it at GlassFish Admin console (usually running on port 4848).
You need to log on to Admin console with the (default) or changed password (depends if you changed it during installation).
There you could see your web service deployed (usually in the "folder" Web services).
If you can see it you should see also wsdl - for your web service.
link:
http://developers.sun.com/appserver/reference/techart/ws_mgmt.html
Regards,
Miro -
Errors creating a Web Service Proxy using Microsoft WSDL.exe tool
I have deployed a BPEL process using JDeveloper. This process can be invoked from the BPEL console and completes as expected. I am trying to create a Web Service Proxy using the Microsoft WSDL.exe tool so that the process can be invoked from a Microsoft Word document. This process is based on the AutoLoan example in the Developer's Guide for Microsoft Office Interoperability B25781-01.
WSDL.exe returns the following error message
Error: There was an error processing 'http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl'.
- The document at the url http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl was not recognized as a known document type. The error message from each known type may help you fix the problem:
- Report from 'WSDL Document' is 'There is an error in XML document (19, 7).'.
- A schema with the namespace '' has already been added.
- Report from 'DISCO Document' is 'Discovery document at the URL http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0/HonorariumSmartDoc?wsdl could not be found.'.
- The document format is not recognized.
- Report from 'XML Schema' is 'Expected Schema root. Make sure that the root element is <schema> and the namespace is 'http://www.w3.org/2001/XMLSchema' for an XSD schema or 'urn:schemas-microsoft-com:xml-data' for an XDR schema. An error occurred at , (2, 2).'.
How do I resolve this error?The WSDL file is below.
<?xml version="1.0" encoding="UTF-8" ?>
- <definitions name="HonorariumSmartDoc" targetNamespace="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.oracle.com/HonorariumSmartDoc" xmlns:wsa="http://schemas.xmlsoap.org/ws/2003/03/addressing" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:client="http://xmlns.oracle.com/HonorariumSmartDoc">
- <types>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://xmlns.oracle.com/HonorariumSmartDoc" schemaLocation="HonorariumSmartDoc.xsd" />
</schema>
- <schema xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing" schemaLocation="http://erp.template.co.uk:8889/orabpel/xmllib/ws-addressing.xsd" />
</schema>
</types>
- <message name="HonorariumSmartDocResponseMessage">
<part name="payload" element="tns:HonorariumSmartDocProcessResponse" />
</message>
- <message name="HonorariumSmartDocRequestMessage">
<part name="payload" element="tns:HonorariumSmartDocProcessRequest" />
</message>
- <message name="WSARelatesToHeader">
<part name="RelatesTo" element="wsa:RelatesTo" />
</message>
- <message name="WSAReplyToHeader">
<part name="ReplyTo" element="wsa:ReplyTo" />
</message>
- <message name="WSAMessageIDHeader">
<part name="MessageID" element="wsa:MessageID" />
</message>
- <portType name="HonorariumSmartDocCallback">
- <operation name="onResult">
<input message="tns:HonorariumSmartDocResponseMessage" />
</operation>
</portType>
- <portType name="HonorariumSmartDoc">
- <operation name="initiate">
<input message="tns:HonorariumSmartDocRequestMessage" />
</operation>
</portType>
- <binding name="HonorariumSmartDocBinding" type="tns:HonorariumSmartDoc">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="initiate">
<soap:operation style="document" soapAction="initiate" />
- <input>
<soap:header message="tns:WSAReplyToHeader" part="ReplyTo" use="literal" encodingStyle="" />
<soap:header message="tns:WSAMessageIDHeader" part="MessageID" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <binding name="HonorariumSmartDocCallbackBinding" type="tns:HonorariumSmartDocCallback">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <operation name="onResult">
<soap:operation style="document" soapAction="onResult" />
- <input>
<soap:header message="tns:WSARelatesToHeader" part="RelatesTo" use="literal" encodingStyle="" />
<soap:body use="literal" />
</input>
</operation>
</binding>
- <service name="HonorariumSmartDocCallbackService">
- <port name="HonorariumSmartDocCallbackPort" binding="tns:HonorariumSmartDocCallbackBinding">
<soap:address location="http://set.by.caller" />
</port>
</service>
- <service name="HonorariumSmartDoc">
- <port name="HonorariumSmartDocPort" binding="tns:HonorariumSmartDocBinding">
<soap:address location="http://erp.template.co.uk:8889/orabpel/default/HonorariumSmartDoc/1.0" />
</port>
</service>
- <plnk:partnerLinkType name="HonorariumSmartDoc">
- <plnk:role name="HonorariumSmartDocProvider">
<plnk:portType name="tns:HonorariumSmartDoc" />
</plnk:role>
- <plnk:role name="HonorariumSmartDocRequester">
<plnk:portType name="tns:HonorariumSmartDocCallback" />
</plnk:role>
</plnk:partnerLinkType>
</definitions> -
How to invoke a web service asynchronously using ws-addressing model?
Hi Gurus,
We are invoking an external web service asynchronously using Oracle Work Flow Business events using the following mechanism -
1)Created a web service invoker event to invoke the web service.
2)Created a subscription that invokes the web service (provided the wsdl address, operation info).
3)Defined a subscription parameter WFBES_CALLBACK_EVENT with value pointing to a recieve event.
4)Created a receive event(parameter value for WFBES_CALLBACK_EVENT) and a subscription that directs the response to a custom PL/SQL function to process response.
so far so good. We were able to invoke the web service and get and process the response.
Problem: The external web service can take upto 10 hrs to process the request. A time out of 2 hrs is set on the server hosting the external web service. So when the external web service takes more than 2 hrs to process the request and it times out and we get the following error on EBS side -
'l_error_message:oracle.apps.fnd.wf.bes.InvokerException: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html; charset=iso-8859-1'
Now the external web service providers are suggesting that we are not calling their web service asynchronously and we should use ws-addressing model to do so.
Is there a way to invoke this web service using ws-addressing model using business events or from PL/SQL or OA middle-tier?
Regards,
Sunil
CMRO Development.
I am providing here the WSDL of the external web service -
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://service.sdk.webservices.enigma.com" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:ax21="http://service.sdk.webservices.enigma.com/xsd" xmlns:ns="http://service.sdk.webservices.enigma.com" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sdk.webservices.enigma.com/xsd" xmlns:ax22="http://service.sdk.webservices.enigma.com">
<xs:import namespace="http://service.sdk.webservices.enigma.com"/>
<xs:complexType name="JCGWebServicesException">
<xs:complexContent>
<xs:extension base="ax22:Exception">
<xs:sequence>
<xs:element minOccurs="0" name="id" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="message" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="JCGServiceReply">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="pdfStatus" nillable="true" type="ax21:PdfStatus"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PdfStatus">
<xs:sequence>
<xs:element minOccurs="0" name="jobCardID" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="pdfPath" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="status" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://service.sdk.webservices.enigma.com" xmlns:ax23="http://service.sdk.webservices.enigma.com/xsd">
<xs:import namespace="http://service.sdk.webservices.enigma.com/xsd"/>
<xs:complexType name="Exception">
<xs:sequence>
<xs:element minOccurs="0" name="Exception" nillable="true" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
<xs:element name="JCGWebServicesException">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="JCGWebServicesException" nillable="true" type="ax21:JCGWebServicesException"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="runJobCard">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="a_WorkpackageFilePath" nillable="true" type="xs:string"/>
<xs:element minOccurs="0" name="a_userName" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="runJobCardResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="ax21:JCGServiceReply"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="JCGWebServicesException">
<wsdl:part name="parameters" element="ns:JCGWebServicesException">
</wsdl:part>
</wsdl:message>
<wsdl:message name="runJobCardResponse">
<wsdl:part name="parameters" element="ns:runJobCardResponse">
</wsdl:part>
</wsdl:message>
<wsdl:message name="runJobCardRequest">
<wsdl:part name="parameters" element="ns:runJobCard">
</wsdl:part>
</wsdl:message>
<wsdl:portType name="JCGServicePortType">
<wsdl:operation name="runJobCard">
<wsdl:input message="ns:runJobCardRequest" wsaw:Action="urn:runJobCard">
</wsdl:input>
<wsdl:output message="ns:runJobCardResponse" wsaw:Action="urn:runJobCardResponse">
</wsdl:output>
<wsdl:fault name="JCGWebServicesException" message="ns:JCGWebServicesException" wsaw:Action="urn:runJobCardJCGWebServicesException">
</wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="JCGServiceSoap11Binding" type="ns:JCGServicePortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="runJobCard">
<soap:operation soapAction="urn:runJobCard" style="document"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="JCGWebServicesException">
<soap:fault name="JCGWebServicesException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:binding name="JCGServiceSoap12Binding" type="ns:JCGServicePortType">
<soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="runJobCard">
<soap12:operation soapAction="urn:runJobCard" style="document"/>
<wsdl:input>
<soap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap12:body use="literal"/>
</wsdl:output>
<wsdl:fault name="JCGWebServicesException">
<soap12:fault name="JCGWebServicesException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="JCGService">
<wsdl:port name="JCGServiceHttpSoap12Endpoint" binding="ns:JCGServiceSoap12Binding">
<soap12:address location="http://localhost:8080/JCG/services/JCGService"/>
</wsdl:port>
<wsdl:port name="JCGServiceHttpSoap11Endpoint" binding="ns:JCGServiceSoap11Binding">
<soap:address location="http://localhost:8080/JCG/services/JCGService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Edited by: sikumar on Jun 22, 2010 1:50 PMBharat,
You dont need a Business Event setup to invoke a BPEL process from PL/SQL unless you have a special case and you need to process the response from the BPEL process in a separate thread (or in background)..
For a straight call to BPEL process from PL/SQL, here is a sample script -
function "MYTEST0" return varchar2 AS
soap_request varchar2(30000);
soap_respond varchar2(30000);
http_req utl_http.req;
http_resp utl_http.resp;
resp XMLType;
i integer;
helpStr varchar2(30000);
BEGIN
soap_request:= '<?xml version = ''1.0'' encoding = ''UTF-8''?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns0="
http://xmlns.oracle.com/TestWS">
<env:Body>
<ns0:TestWSProcessRequest>
<ns0:input>abc</ns0:input>
</ns0:TestWSProcessRequest>
</env:Body>
</env:Envelope>
/* the BPEL process name is TestWS */
http_req:= utl_http.begin_request
( 'http://hostname:7777/orabpel/default/TestWS/1.0'
, 'POST'
, 'HTTP/1.1'
utl_http.set_header(http_req, 'Content-Type', 'text/xml');
utl_http.set_header(http_req, 'Content-Length', length(soap_request));
utl_http.set_header(http_req, 'SOAPAction', 'process');
utl_http.write_text(http_req, soap_request);
http_resp:= utl_http.get_response(http_req);
utl_http.read_text(http_resp, soap_respond);
utl_http.end_response(http_resp);
resp:= XMLType.createXML(soap_respond);
resp:= resp.extract('/soap:Envelope/soap:Body/child::node()',
'xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"');
helpStr := '';
i:=0;
loop
helpStr := helpStr || substr(soap_respond,1+ i*255,250);
i:= i+1;
if i*250> length(soap_respond)
then
exit;
end if;
end loop;
return helpStr;
END; -
How to consume web service in WDP ABAP ---HTTP error (return code 404, mess
Hi,
Am trying to consume a web serivce in WDP where I got error HTTP error (return code 404, message "conn failed")in sdn i came to know that it could be resloved by giving the IP address of the host but in case it is not the web services am using are the external links.
kindly help me to sort it.
Regards
Rajhi,
in addition to above thread
refer this too
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0d4aa08-beed-2a10-fab2-ad975cead04a
bvr -
Web Service consumer using ABAP-PROXY
Hello,
I want to test Web Service consumer using ABAP-PROXY . So I do what is explain in the weblog :
[http://wiki.sdn.sap.com/wiki/display/Snippets/WebServiceconsumerusingABAP-PROXY]
But when I execute the programm, the message : 'No valid source context supplied'.
But, proxy and port are ok and activate.
Can you help me.
Thanks.Hi Jitesh,
Thanks for the link. I checked but did not find helpful info there.
I have managed to make it work yesterday. Two issues were identified.
1. The namespace in the WSDL file imported into ESR as an external definition. I need to create the same namespace in ESR before importing the WSDL and then import the WSDL into that namespace.
2. The authentication method. The authentication method in the IIS configuration of the .NET web service has to be set to Basic Authentication. Then I set logical port of the consumer proxy in the OSAMANAGER to use Basic Authentication also. So far only the Basic Authentication works in my test scenario.
I am closing this question.
Regards,
Jiannan -
Workshop 9.2 - Web Service Test Client - java.util.NoSuchElementException
I've found an issue with the Web Services Test Client while developing a web service application in the Weblogic Workshop 9.2 tool. The same schema / code in Workshop 8.1 SP4 works okay in its version of the test client.
The error seems to manifest itself, when I add the "addresses" element to the "locations" element.
The error displayed in the weblogic service console is
<BLOCKQUOTE>
java.lang.RuntimeException: java.util.NoSuchElementException
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:63)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:305)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:335)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:51)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:95)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2042)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:90)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2114)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:554)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:851)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:630)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:157)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
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:3211)
Caused by: java.util.NoSuchElementException
at java.util.AbstractList$Itr.next(AbstractList.java:427)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:341)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.addSoapForParameter(RequestTemplate.java:334)
at weblogic.testclient.RequestTemplate.createMessageBody(RequestTemplate.java:220)
at weblogic.testclient.RequestTemplate.buildRequest(RequestTemplate.java:169)
at weblogic.testclient.RequestTemplate.createRequestTemplate(RequestTemplate.java:103)
at weblogic.testclient.RequestTemplate.<init>(RequestTemplate.java:85)
at weblogic.testclient.WebServiceOperation.<init>(WebServiceOperation.java:120)
at weblogic.testclient.WsdlOperationParser.createOperation(WsdlOperationParser.java:115)
at weblogic.testclient.WebService.createOperation(WebService.java:242)
at weblogic.testclient.WebService.<init>(WebService.java:86)
at weblogic.testclient.Wsdl.parseWsdl(Wsdl.java:127)
at weblogic.testclient.Wsdl.<init>(Wsdl.java:59)
at weblogic.testclient.ConnectionState.createWsdlFromHttpUrl(ConnectionState.java:113)
at weblogic.testclient.ConnectionState.createWsdl(ConnectionState.java:54)
at Controller.refreshWsdl(Controller.java:304)
at Controller.begin(Controller.java:173)
at jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lang.Object;(Unknown Source)
at java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown Source)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:878)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:808)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:477)
</BLOCKQUOTE>
The code in the Web Service control is...
<BLOCKQUOTE>
package services;
import javax.jws.WebMethod;
import javax.jws.WebService;
import weblogic.jws.WLHttpTransport;
import au.com.suncorp.services.payment.schema.x0.RequestIdDocument;
import au.com.suncorp.services.payment.schema.x0.VendorDocument;
@WebService(targetNamespace="http://suncorp.com.au/services/payment/wsdl/0")
@WLHttpTransport(serviceUri="services/PaymentService")
public class Payment {
@WebMethod
public RequestIdDocument setupVendor(VendorDocument request) {
System.out.println(request.xmlText());
RequestIdDocument result = RequestIdDocument.Factory.newInstance();
RequestIdDocument.RequestId response = result.addNewRequestId();
response.setCorrelationId("CorrelationId-" + request.getVendor().getName());
return result;
</BLOCKQUOTE>
The XSD schema is as follows....
<BLOCKQUOTE>
<?xml version="1.0" encoding="UTF-8"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://suncorp.com.au/services/payment/schema/0"
xmlns:tns="http://suncorp.com.au/services/payment/schema/0">
<!-- ***************************************************************** -->
<simpleType name="correlationIdType">
<annotation>
<documentation>
The CorrelationId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="estTimeIntervalType">
<annotation>
<documentation>
The Estimated Time Interval field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="vendorIdType">
<annotation>
<documentation>
The Vendor Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="nameType">
<annotation>
<documentation>
The Vendor Name field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="persistenceType">
<annotation>
<documentation>
The Persistence field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="ownerType">
<annotation>
<documentation>
The Owner field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="sourceReferenceType">
<annotation>
<documentation>
The vendor Source Reference field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="abnType">
<annotation>
<documentation>
The vendor ABN field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="countryType">
<annotation>
<documentation>
The Country field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="stateType">
<annotation>
<documentation>
The State field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="cityType">
<annotation>
<documentation>
The City field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="postcodeType">
<annotation>
<documentation>
The Postcode field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="gstRegisteredType">
<annotation>
<documentation>
The GST Registered field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="withHoldingType">
<annotation>
<documentation>
The WithHolding field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="vendorClassType">
<annotation>
<documentation>
The Vendor Class field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="statusType">
<annotation>
<documentation>The Status field.</documentation>
</annotation>
<restriction base="string">
<enumeration value="ACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="INACTIVE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="locationIdType">
<annotation>
<documentation>
The Location Id field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="effectiveDateType">
<annotation>
<documentation>
The Effective Date field.
</documentation>
</annotation>
<restriction base="dateTime"></restriction>
</simpleType>
<simpleType name="addressIdType">
<annotation>
<documentation>
The AddressId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="addressType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactIdType">
<annotation>
<documentation>
The ContactId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="contactMethodType">
<annotation>
<documentation>
The Address field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="PHONE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="dispatchMethodType">
<annotation>
<documentation>
The Dispatch Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FAX">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="EMAIL">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="currencyType">
<annotation>
<documentation>
The Currency field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="payGroupType">
<annotation>
<documentation>
The Pay Group field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHoldType">
<annotation>
<documentation>
The Pay Hold field.
</documentation>
</annotation>
<restriction base="boolean"></restriction>
</simpleType>
<simpleType name="freightTermsType">
<annotation>
<documentation>
The Freight Terms field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="payHandlingType">
<annotation>
<documentation>
The Pay Handling field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="delayDaysType">
<annotation>
<documentation>
The Delay Days field.
</documentation>
</annotation>
<restriction base="integer"></restriction>
</simpleType>
<simpleType name="payFromBankType">
<annotation>
<documentation>
The Pay From Bank field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentInstructionsType">
<annotation>
<documentation>
The Payment Instructions field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="paymentTermsType">
<annotation>
<documentation>
The Payment Terms field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="COD">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="SEVEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="FOURTEEN_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="TWENTYONE_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="THIRTY_DAYS">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="paymentMethodType">
<annotation>
<documentation>
The Payment Method field.
</documentation>
</annotation>
<restriction base="string">
<enumeration value="EFT">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
<enumeration value="CHEQUE">
<annotation>
<documentation>an enumerated value.</documentation>
</annotation>
</enumeration>
</restriction>
</simpleType>
<simpleType name="payBankIdType">
<annotation>
<documentation>
The PayBankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="descriptionType">
<annotation>
<documentation>
The Pay Bank Description field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankIdType">
<annotation>
<documentation>
The BankId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="branchIdType">
<annotation>
<documentation>
The BranchId field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<simpleType name="bankAccountType">
<annotation>
<documentation>
The BankAccount field.
</documentation>
</annotation>
<restriction base="string"></restriction>
</simpleType>
<!-- ***************************************************************** -->
<complexType name="payBankDetailsType">
<sequence>
<element name="payBankId" type="tns:payBankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="description" type="tns:descriptionType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankId" type="tns:bankIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="branchId" type="tns:branchIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankAccount" type="tns:bankAccountType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
</sequence>
</complexType>
<complexType name="paymentDetailsType">
<sequence>
<element name="paymentTerms" type="tns:paymentTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentMethod" type="tns:paymentMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payGroup" type="tns:payGroupType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="currency" type="tns:currencyType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHold" type="tns:payHoldType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="freightTerms" type="tns:freightTermsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payHandling" type="tns:payHandlingType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="delayDays" type="tns:delayDaysType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="payFromBank" type="tns:payFromBankType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="paymentInstructions" type="tns:paymentInstructionsType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="bankDetails" type="tns:payBankDetailsType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="contactDetailsType">
<sequence>
<element name="contactId" type="tns:contactIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="contactMethod" type="tns:contactMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="dispatchMethod" type="tns:dispatchMethodType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
</sequence>
</complexType>
<complexType name="arrayOfContactDetails">
<sequence>
<element name="contact" type="tns:contactDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="addressDetailsType">
<sequence>
<element name="addressId" type="tns:addressIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="address" type="tns:addressType" maxOccurs="1" minOccurs="1"></element>
<element name="postcode" type="tns:postcodeType" maxOccurs="1" minOccurs="1"></element>
<element name="city" type="tns:cityType" maxOccurs="1" minOccurs="1"></element>
<element name="state" type="tns:stateType" maxOccurs="1" minOccurs="1"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1"></element>
<element name="contacts" type="tns:arrayOfContactDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfAddressDetails">
<sequence>
<element name="address" type="tns:addressDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="locationDetailsType">
<sequence>
<element name="locationId" type="tns:locationIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="effectiveDate" type="tns:effectiveDateType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="orderingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="invoicingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="remittingVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="returningVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1"></element>
<element name="paymentDetails" type="tns:paymentDetailsType" maxOccurs="1" minOccurs="1"></element>
<element name="addresses" type="tns:arrayOfAddressDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
<complexType name="arrayOfLocationDetails">
<sequence>
<element name="location" type="tns:locationDetailsType" maxOccurs="unbounded" minOccurs="0"></element>
</sequence>
</complexType>
<!-- ***************************************************************** -->
<element name="Vendor">
<complexType mixed="true">
<annotation>
<documentation>
The Vendor request object.
</documentation>
</annotation>
<sequence>
<element name="vendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="1"></element>
<element name="name" type="tns:nameType" maxOccurs="1" minOccurs="1"></element>
<element name="persistence" type="tns:persistenceType" maxOccurs="1" minOccurs="1" default="true"></element>
<element name="owner" type="tns:ownerType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="sourceReference" type="tns:sourceReferenceType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="corporateVendorId" type="tns:vendorIdType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="abn" type="tns:abnType" maxOccurs="1" minOccurs="0" nillable="true"></element>
<element name="country" type="tns:countryType" maxOccurs="1" minOccurs="1" default="AUS"></element>
<element name="gstRegistered" type="tns:gstRegisteredType" maxOccurs="1" minOccurs="0" nillable="true" default="true"></element>
<element name="withHolding" type="tns:withHoldingType" maxOccurs="1" minOccurs="0" nillable="true" default="false"></element>
<element name="status" type="tns:statusType" maxOccurs="1" minOccurs="1" default="ACTIVE"></element>
<element name="vendorClass" type="tns:vendorClassType" maxOccurs="1" minOccurs="1"></element>
<element name="locations" type="tns:arrayOfLocationDetails" maxOccurs="1" minOccurs="0"></element>
</sequence>
</complexType>
</element>
<element name="RequestId">
<complexType mixed="true">
<annotation>
<documentation>The typical response object for requests.
</documentation>
</annotation>
<sequence>
<element name="correlationId" type="tns:correlationIdType" maxOccurs="1" minOccurs="1"></element>
<element name="estTimeInterval" type="tns:estTimeIntervalType" maxOccurs="1" minOccurs="0" nillable="true" default="24"></element>
</sequence>
</complexType>
</element>
</schema>
</BLOCKQUOTE>Hi Paul
I believe there is some issue with the TestClient.
Instead to test, can you please try this?
1) Right click on Payment.java and choose Webservices -> generate wsdl
2) Right click on the wsdl and choose Webservices -> Test with WebServices Explorer.
3) Click on setVendor method
4) Enter the request parameters
Sample one:
<ns:Vendor xmlns="http://www.openuri.org/" xmlns:ns="http://suncorp.com.au/services/payment/schema/0">
<vendorId xmlns="">Vendor Id</vendorId>
<name xmlns="">My correlation Id</name>
<persistence xmlns="">false</persistence>
<country xmlns="">USA</country>
<status xmlns="">ACTIVE</status>
<vendorClass xmlns="">VendorClass</vendorClass>
</ns:Vendor>
5) Hit the button 'Go'. The entire soap response will be displayed in the bottom.
I have tested this and it works fine.
Output I got:
<m:setupVendorResponse xmlns:m="http://suncorp.com.au/services/payment/wsdl/0">
<RequestId xmlns="http://suncorp.com.au/services/payment/schema/0">
<correlationId>CorrelationId-My correlation Id</correlationId>
</RequestId>
</m:setupVendorResponse>
Thanks,
Vimala -
Web service XML use with Schema
Hi!
I have a Webservice working ok and a can see the xml, but, the after process for read this data(I do it trought pbl) take too time, then i go to try use of schema, as follow structure:
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:simpleType name="nombres" type="xsd:string"/>
<xsd:simpleType name="paterno" type="xsd:string"/>
<xsd:simpleType name="materno" type="xsd:string"/>
<xsd:simpleType name="email" type="xsd:string"/>
<xsd:simpleType name="codigo" type="xsd:string"/>
<xsd:simpleType name="vigencia" type="xsd:string"/>
<xsd:simpleType name="fecIni" type="xsd:string"/>
<xsd:simpleType name="fecTer" type="xsd:string"/>
<xsd:simpleType name="codCargo" type="xsd:string"/>
<xsd:simpleType name="codGrado" type="xsd:string"/>
<xsd:simpleType name="codPuesto" type="xsd:string"/>
<xsd:simpleType name="codRepart" type="xsd:string"/>
<xsd:simpleType name="codOrganismo" type="xsd:string"/>
<xsd:simpleType name="descCargo" type="xsd:string"/>
<xsd:simpleType name="descEscalafon" type="xsd:string"/>
<xsd:simpleType name="descReparticion" type="xsd:string"/>
<xsd:simpleType name="descEstamento" type="xsd:string"/>
<xsd:simpleType name="descJerarquia" type="xsd:string"/>
<xsd:group name="nombramientos">
<xsd:sequence>
<xsd:element name="codigo" type="codigo"/>
<xsd:element name="vigencia" type="vigencia"/>
<xsd:element name="fecIni" type="fecIni"/>
<xsd:element name="fecTer" type="fecTer"/>
<xsd:element name="codCargo" type="codCargo"/>
<xsd:element name="codGrado" type="codGrado"/>
<xsd:element name="codPuesto" type="codPuesto"/>
<xsd:element name="codRepart" type="codRepart"/>
<xsd:element name="codOrganismo" type="codOrganismo"/>
<xsd:element name="descCargo" type="descCargo"/>
<xsd:element name="descEscalafon" type="descEscalafon"/>
<xsd:element name="descReparticion" type="descReparticion"/>
<xsd:element name="descEstamento" type="descEstamento"/>
<xsd:element name="descJerarquia" type="descJerarquia"/>
</xsd:sequence>
</xsd:group>
<xsd:complexType name="Usuario">
<xsd:sequence>
<xsd:choice>
<xsd:element name="nombres" type="nombres"/>
<xsd:element name="paterno" type="paterno"/>
<xsd:element name="materno" type="materno"/>
<xsd:element name="email" type="email"/>
<xsd:group ref="nombramientos"/>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="usuario" type="Usuario"/>
</xsd:schema>
... and the xml i using as the next:
<usuario>
<nombres>Oscar Hernan</nombres>
<paterno>Pozo</paterno>
<materno>Ortiz</materno>
<email>[email protected]</email>
<nombramientos class="list">
<nombramiento>
<codigo>A110401412002</codigo>
<vigencia>1</vigencia>
<fecIni>2002-01-01 00:00:00.0</fecIni>
<fecTer>2002-12-31 00:00:00.0</fecTer>
<codCargo>N3A075</codCargo>
<codGrado>13</codGrado>
<codPuesto>A22004</codPuesto>
<codRepart>11040501</codRepart>
<codOrganismo>11040000</codOrganismo>
<descCargo>ANALISTA COMPUTACIONAL</descCargo>
<descEscalafon>N3A</descEscalafon>
<descReparticion>Dirección de Servicios de Tecnologías de Información</descReparticion>
<descEstamento>A</descEstamento>
<descJerarquia>Técnica</descJerarquia>
</nombramiento>
<nombramiento>
<codigo>A120200011978</codigo>
<vigencia>1</vigencia>
<fecIni>1978-09-15 00:00:00.0</fecIni>
<fecTer>2099-12-31 00:00:00.0</fecTer>
<codCargo>A2A001</codCargo>
<codGrado>05</codGrado>
<codPuesto>001767</codPuesto>
<codRepart>19012061</codRepart>
<codOrganismo>12060000</codOrganismo>
<descCargo>Académico Prof. Asociado</descCargo>
<descEscalafon>A2A</descEscalafon>
<descReparticion>Aporte Institucional Ciencias Físicas </descReparticion>
<descEstamento>A</descEstamento>
<descJerarquia>Prof. Asociado - Categ. Academica Ord.</descJerarquia>
</nombramiento>
</nombramientos>
</usuario>
As you see, i'm try retrieve data "nombramientos" in a group, but que schema is not charging in albpm with this structure.
A need let "nombramientos" tag in a group to use it as correct.
Please.. if any body can help me.
Nathan BernalI'm new to web services, but we are currently
implementing a number of Web Services that all take
as arguments a single parameter which is an XMLBean,
which has been generated by a XML Schema.
What I find surprising is that when I submit a SOAP
message to the Web Service (through the http Web
Service Tester inside eclipse), I can send any valid
XML without getting a SOAP fault. Is there a way on
the Web Service that I want the XML submitted to be
validated against the XML Schema for that parameter?
Bit surprised I have to implement my own input
argument validation, and there doesn't appear to be a
standard way to do this. I must be missing soemthing
surely? Why else would the Schema be in the WSDL?
Cheers
JohnHas anyone found an answer to this, we have the same issue? -
Web Services Test Page: No input fields for SOAP header parameters?
Hello,
we're using OracleAS / OC4J 10.1.3.1 and have developed a web service that has some self defined SOAP header parameters.
I would like to use the Web Services Test Page provided by the OAS but it seems that there is no opportunity
to provide input values for these SOAP header parameters.
Do I miss something there or is it not supported by OAS?
I've read the documentation but could not find a clue.
any help is appreciated,
Regards,
MartinI hear you. As you have probably heard, OC4J is being replaced by WebLogic Server and the 10.1.3.x releases are the last that will be produced. We'll do maintenance on it of course, but little/no new feature work. This would be a new feature we'd have to add, so I'm afraid there's not much chance in having it done.
It's not ideal, and of course more work for you, but if you want to provide your client with a test page that exposes the SOAP headers as form fields, you could always develop and ship one yourself.
-steve0 -
Web service call using javascript
Hi All,
I am working on web service call using javascript. I used below code while calling web service on click event of button.
var e;
try
var oListURL = "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL";
SOAP.wireDump = true;
var service = SOAP.connect(oListURL);
xfa.host.messageBox(service.toString());
if(typeof service != "object")
xfa.host.messageBox("Couldn't connect to " + oListURL);
if(!service.ConversionRate(138,56))
xfa.host.messageBox("The ConversionRate method does not exist on the service at " + oListURL);
//call the service
var svcResponse = service.ConversionRate(138,56);
xfa.host.messageBox(svcResponse.toString());
if(!svcResponse)
xfa.host.messageBox("The service returned nothing");
catch(e)
xfa.host.messageBox("Exception: " + e);
I do not get any response for it. I always get "0" as response.
How do i passed session id to soap header while calling web service in designer??
Is there any other adobe javascript with which i can call web service as well as i may able to provide session id to its soap header.
Request you all to share any information regarding this.
Thanks in advance.
Regards
AbhishekHi Abhishek,
This service seems to take the country codes as parameters, not the numerics 138,56, and I have always passed in the parameters as xml.
So I have just tried;
var svcResponse = service.ConversionRate("<FromCurrency>AUD</FromCurrency><ToCurrency>NZD</ToCurrency>");
and got a response
1.2557
Which is about right.
Hope this helps
Bruce -
I need to write a tool for internal web service testing, like the one wls admin console has. But I need the tool to run separately, meaning from app, either using jsp, servlet or jpf. How can I access the web service? Do I have to generate client jar for each of my web service to test? What is the underline implementation of wls_utc? Thanks!
Thanks!I guess SOAPUI is not an option for you...?
Personally I have always used Axis2 WSDL2Java with great success, it never failed. It will generate the SOAP client for you (if you use SOAP, otherwise I guess for REST also there is some support)
Maybe you are looking for
-
Can i install a game on my ipod touch ????
i was on my ipod touch and i decide to install a game .... its bcuz sometimes im bored but then i get confused bcuz the itunes stores says that only the ipod 3 and 5 gen can played, and iphone and ipod t. does't but then i see a icon of this game bej
-
Best application for anti-virus for macbook pro
Hi I just recently bought a macbook pro and I was wondering what appliction is best for a anti-virus ??
-
After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have clo
-
Change the way information is displayed from SQL query in Excel
Hi, I'm trying to set up a spreadsheet that displays information directly from our SQL database using the Microsoft Query Wizard. I have a very basic understanding on how to do this, so I can create a spreadsheet that gives me most of the informatio
-
Hi there, I deleted my app store by accident and I can't have it back. Running Lion 10.7.2, tried the combo didn't work, the software update is in date... Someone knows how can I get it back? Thanks