Change default schemaLocation of wsdl when deploying a web service
Hi,
When I deploy a web service, and then view the schemaLocation attribute of the wsdl, it points to a file with the machine name and not the url for my server. I have tried changing in config files all of the instances that point to my machine name instead of my url. This has not changed what gets set for schemaLocation when I deploy the web service. I also tried creating a new virtual server but I am unsure what value to put for the hostName. I tried my url and that did not seem to work. Does anyone have any ideas of to change the value that gets written to schemaLocation attribute when deploying a web service?
Could anyone point me to documentation for changing a domains' hostName or in other words, the url used to access it? I know when I point my browser to my server's url instead of the machine name for the admin console, things seem to work. But then I run into problems such as above, where certain urls do not get set properly.
If there is a way to set this when installing Sun ONE AS through the wizard, please let me know because I have not added much to my install and could reinstall the software.
Thanks,
Scott
Hi disgruntled one,
The same problem has plagued us a few times already, and I've finally found a solution that worked for me.
Option 1 - requires redeployment of web services.
1. In the admin console, navigate to Configuration -> HTTP service -> HTTP Listeners.
2. Select the correct listener. In most cases this would be http-listener-1
3. In the General Settings section, enter the correct name of your host in the Server Name field. This can be the corresponding name you have in a DNS for the host, or if you don't have a DNS entry, you can hard code it to the machine's IP address.
4. Redeploy any web services for the changes to take effect. I've tried restarting the server but that doesn't seem to have an effect on the WSDL output.
Option 2 - modify the generated WSDL file
1. Look under the {you app server's path}\domains\domain1\generated\xml. You should find the generated WSDL file under this tree in their appropriate sub folders.
2. Modify as you see fit.
This method of course, needs to be redone for each time you redeploy the web services.
Cheers,
Fred
Similar Messages
-
Exception when deploying java web-service to PI 7.1 via JSPM
Dear Friends,
While uploading a self created web-service to PI 7.1 via java support package manager, we get an exception during the deployment process - which says: "WebServices Common deployment exception. The reason is: Unable to generate complex types". The JSPM main log for the deployment is attached to this message.
The complex type that is used is a Java Class with one data member of type String.
Thanks in advance,
Udi Dekel.Hi Udi,
There could be a thousand reasons to this problem. Please go through the checklist , one of them is bound to work.
1) Verify whether the process table on SAP J2EE server and it says that SDM is running.
2) You have to enter the SDM host as the name of your J2EE server with the port. Go to:
Window -> Preferences -> SAP J2EE engine -> Here Enter the values of Message Server Host and Message Server Port.
3) For some reason the SDM wasn't started by the MMC. Since I was not able to start the SDM via MMC, I started it manually via DOS prompt "StartServer". After that the deployment of the application worked fine.
4) Try updating the hosts file:
C:\<WINDOWS-version>\system32\drivers\etc
Append the following line:
<localhost IP> name of the localhost.
e.g.10.590.789.10 remotehost
Reboot your PC, be sure all threads of the J2EE Engine are running and try to deploy again.
5) You should use port 39xx instead of 36xx (where xx - SCS instance number).
6)Please check message server settings on
visual admin tool:server->kernel->cluster manager
and check ms.host and ms.port values from the table. If you do your J2ee settings according to these values it will probably work fine.
The reason why you are getting SDM error is ,at the previous versions there was settings for SDM in preferences and you had to set the port number for SDM ( which was 50018 + 100 * <instance number> ). There is no specific settings for SDM in preferences anymore.
Regards
joel
Edited by: joel trinidade on Mar 26, 2009 2:38 PM
Edited by: joel trinidade on Mar 26, 2009 2:40 PM -
Getting a compilation error when deploying a web service to OC4J.
The following are the error that I got from Oracle AS server console:
[Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
[Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
[Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
[Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initializing EJB container
[Feb 5, 2007 11:31:16 AM] Loading connector(s)
[Feb 5, 2007 11:31:16 AM] Starting up resource adapters
[Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
[Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
[Feb 5, 2007 11:31:16 AM] Started application : edsssaws
[Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
[Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
[Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
The error log shows as the following:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
... 8 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
Any idea why it happened?
Thanks,
JasonHello,
I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
Regards
Tugdual Grall -
Problem with fonts in forms when deployed on web
Hi everybody out there! Please help me out. My problem is:
I have used developer server to deploy forms on web, but when a
form is shown on web, it takes some default settings for fonts
and colors instead of retaining the original colors and fonts
that i chose during creating forms. I want that forms retain
their original colors and fonts when deployed on web. How would
i do that ?? Someone told me to check the Registry.dat file but
i do not how to change the settings in registry.dat file. So
help me out and tell me how would i change color and font
settings for forms being shown on web by web app. server.
Thanking you in anticipation,
Cheema
nullHello Neeraj!
The problem is no resolved:) In the Visual Attribute Group I changed the Font Weight to Bold in the Property Palette.
Thanks a lot for showing interest for my problem.
Regards
Roar -
Change jsp's in web service client when creating a web service in WID
Hi, Actually , when we a web service, on websphere Integration Developer,JSP's get generated after creating the web service client.
Those JSP's are named as input.html, invoke.jsp etc, I need to change the jsp's for good look and feel,
But I am unalble to do that as there is no configuration information included in the jsps created by default, Please let me know, if any has come across this kind of situation and knows how to deal with.Hi,
Not sure if you can get answer to WID specific questions on the Oracle-WebServices forum. Here, we are mainly talking about SOAP and WSDL, and mostly with the Oracle OC4J implementation.
When you generate a static proxy, you can set the endpoint URL dynamically using a helper method on the class generated by JDeveloper - look for setEndpoint()
import javax.xml.rpc.ServiceFactory;
import javax.xml.rpc.Stub;
public void setEndpoint(String endpoint) {
((Stub) _port)._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, endpoint);
}The generated code uses the JAX-RPC APIs under the cover, which may also apply to Websphere's internal implementation.
Hope it Helps,
-Eric -
SDM failed when deploying a Web Dynpro application
SDM failed when deploying a Web Dynpro application - I get the following error message:
Sep 19, 2006 2:25:34 PM /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[001]Deployment aborted
Settings
SDM host : eix-blade-011
SDM port : 50118
URL to deploy : file:/D:/DOCUME1/AMRM1.AZI/LOCALS1/Temp/temp43621sap.comwelcome.ear
Deployment exception : Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011
Inner exception was :
Server eix-blade-011 did not accept login request as admin on port 50118. Details: ERROR: Could not establish connection to server eix-blade-011 at port 50118: eix-blade-011Amr Azim,
You must have logged in thru a dedicated connection to any server through say VPN before deploying.This way the sdm uses the same login as that of already establised connection.
So 'sign of' all connections to any servers before deploying and redeploy your application.Here you will be prompted to supply the sdm password and deployment shall proceed. -
Workshop 10.1 WSDL - cannot publish generated Web service
I'm trying to create a Web service starting from a WSDL using the doc Web Service Development Starting Points ([url http://edocs.bea.com/wlw/docs101/guide/webservices/conWebServiceDevelopmentCycle.html]http://edocs.bea.com/wlw/docs101/guide/webservices/conWebServiceDevelopmentCycle.html) .
I create a Web service project, import my WSDL into my src directory, click on the WSDL and select Web Services > Generate Web Service.
Workshop generates the implementation class and the JAR file, just like the doc describes.
When I try to publish it to my server in the IDE< however, I get an error :
Error with publish task 'WebServicesProjectBuildTask'.
Web services in WLW101Example_WebServiceFromWSDL_JAXRPC have errors.
java.lang.UnsupportedMethodException: Method not implemented.
Error(s) occurred during publish assembly. No modules will be published.
The operation in the WSDL has been implemented, and the class is pretty simple :
package com.kohls.services;
import javax.jws.WebService;
import weblogic.jws.*;
import com.kohls.is.soa.x09.meta.*;
* KohlsDynamicWsPortTypeImpl class implements web service endpoint interface KohlsDynamicWsPortType */
@WebService(serviceName = "KohlsDynamicWS",
targetNamespace = "http://www.kohls.com/is/soa/0.9/meta",
endpointInterface = "com.kohls.services.KohlsDynamicWsPortType")
@WLHttpTransport(contextPath = "is/soa/0.9", serviceUri = "meta", portName = "KohlsDynamicWsBinding")
public class KohlsDynamicWsPortTypeImpl implements KohlsDynamicWsPortType
public KohlsDynamicWsPortTypeImpl()
public com.kohls.is.soa.x09.meta.KohlsMessageDocumentType process(com.kohls.is.soa.x09.meta.KohlsMessageDocumentType Message)
KohlsMessageDocumentType message = null;
message = new KohlsMessageDocumentType();
MessageHeaderType header = new MessageHeaderType();
MessagePayloadType payload = new MessagePayloadType();
message.setHeader(header);
message.setPayload(payload);
return message;
}The only thing unusual here is that the @WLHttpTransport annotation overrides the context, but I don't see that as a problem.
Is there something simple I am missing here ? I guess I'm always surprised when Workshop cannot publish something it generates, but there is usually a reason - library setting or something.
I'd appreciate any advice !
Edited by ethan_kohls at 01/10/2008 11:59 AMHi Ethan
I tested it using Workshop10.0Mp1 and didn't see any issue with publish.
Here are the steps I followed:
1) Create a default webservice project with default facets.(no ear)
2) Drop the business and meta folder and under project/src folder
3) Create a test package under src
4) Right click on the wsdl and choose generate webservice and create it under the test folder
5) Replace the process method implementation with the one you have here
6) Create a 10.0mp1 Workshop server (please make sure you create a workshop server and not wls server) and deploy the app to the server
I was able to run the webservice successfully.
Let me know if I am doing anything different from you.
Vimala- -
Error while deploying a web service whose return type is java.util.Date
Hi
I have written a simple web service which takes in a date input (java.util.Date) and returns the same date back to the client.
public interface Ping extends Remote
* A simple method that pings the server to test the webservice.
* It sends a datetime to the server which returns the datetime.
* @param pingDateRequest A datetime sent to the server
* @returns The original datetime
public Date ping(Date pingDateRequest) throws RemoteException;
The generation of the Web service related files goes smoothly in JDeveloper 10g. The problem arises when I try to deploy this web service on the Oracle 10g (10.0.3) OC4J standalone. it gives me the following error on the OC4J console :
E:\Oracle\oc4j1003\j2ee\home\application-deployments\Sachin-TradingEngineWS-WS\
WebServices\com\sachin\tradeengine\ws\Ping_Tie.java:57: ping(java.util.Date) in com.sachin.tradeengine.ws.Ping cannot be applied to (java.util.Calendar) _result = ((com.sachin.tradeengine.ws.Ping) getTarget()).ping
(myPing_Type.getDate_1());
^
1 error
04/03/23 17:17:35 Notification ==> Application Deployer for Sachin-TradingEngineWS-WS FAILED: java.lang.InstantiationException: Error compiling :E:\Oracle\oc4j1003\j2ee\home\applications\Sachin-TradingEngineWS-WS\WebServices: Syntax error in source [ 2004-03-23T17:17:35.937GMT+05:30 ]
I read somewhere that the conversion between java to xml datatype and vice versa fails for java.util.Date, so it is better to use java.util.Calendar. When I change the code to return a java.util.Calendar then the JDeveloper prompts me the following failure:
Method Ping: the following parameter types do not have an XML Schema mapping and/or serializer specified : java.util.Calendar.
This forces me to return a String data.
I would appreciate if someone can help me out.
Thanks
Sachin Mathias
Datamatics Ltd.Hi
I got the web service working with some work around. But I am not sure it this approach would be right and good.
I started altogether afresh. I did the following step :
1. Created an Interface (Ping.java) for use in web Service as follows :
public interface Ping extends Remote{
public java.util.Date ping(java.util.Date pingDateRequest)
throws RemoteException;
2. Implemented the above interface in PingImpl.java as follows :
public class PingImpl implements Ping
public java.util.Date ping(java.util.Date pingDateRequest) throws RemoteException {
System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
return pingDateRequest;
3. Compiled the above 2 java files.
4. Generated a Stateless Java Web Service with the help of JDeveloper. This time the generation was sucessful.(If I had "java.util.Calendar" in place of "java.util.Date" in the java code of the above mentioned files the web service generation would prompt me for error)
5. After the generation of Web Service, I made modification to the Ping interface and its implementing class. In both the files I replaced "java.util.Date" with "java.util.Calendar". The modified java will look as follows :
Ping.Java
=========
public interface Ping extends Remote{
public java.util.Calendar ping(java.util.Calendar pingDateRequest)
throws RemoteException;
PingImpl.Java
================
public class PingImpl implements Ping
public java.util.Calendar ping(java.util.Calendar pingDateRequest) throws RemoteException {
System.out.println("PingImpl: ping() return datetime = " + pingDateRequest.toString());
return pingDateRequest;
6. Now I recompile both the java files.
7. Withour regenerating the Web Service I deploy the Web Service on OC4j 10.0.3 from JDeveloper. This time the deployment was sucessful.(The Deployment fails if I don't follow the step 5.)
8. Now I generated a Stub from JDeveloper and accessed the stub from a client. It works fine. Here if you see the Stub code it takes java.util.Date as a parameter and returns a java.util.Date. (Mind you I am accepting a java.util.Calendar and returning the same in my Web Service interface. Step 5)
The confusing thing is the Serialization and Deserialization of Data from Client java data to Soap message and Soap message to Server java data.
From Client to SOAP :
java.util.Date to datetime
From SOAP to Server :
datetime to java.util.Calendar
From Server to SOAP :
java.util.Calendar to datetime
From SOAP to Client :
datetime to java.util.Date (I am not able to understand this part of the conversion)
Any help or inputs would be appreciated.
Thanks
Sachin Mathias -
Error when consuming a web service in CF 11
I am consuming a web service in ColdFusion what was written in .NET. Some methods of the web service work fine, but some we get the below error. We have identified the issue is the name of one of the properties in the web service appears to be the issue. The property name is ID. This is a very common property name so I would think someone has run across this before. It appears that maybe ID is a default property for Axis? I can dump the method that works and I see there is a getID() method with a return type of org.apache.axis.types.Id.
If we change the name of the property to something other than ID it works, but this will cause us to refactor a lot of code.
Here is the error I get when I try to call GetRoles method, which contains an ID property:
Cannot perform web service invocation GetRoles. The fault returned when invoking the web service operation is:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: org.xml.sax.SAXException: For input string: "i1"
java.lang.NumberFormatException: For input string: "i1"
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: For input string: "i1"
java.lang.NumberFormatException: For input string: "i1"
at org.apache.axis.encoding.ser.BeanDeserializer.onStartElement(BeanDeserializer.java:462)
at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:393)
at org.apache.axis.encoding.ser.BeanDeserializer.startElement(BeanDeserializer.java:154)
at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java: 1048)
at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:165)
at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:1141)
at org.apache.axis.message... ''
I am running CF 11 Update 4.I am not passing any parameters to the method (it has no parameters). On the ColdFusion side I do not use i1 anywhere. I will check with the .net developer on Monday to see if he is using it anywhere in his code. If he is he is using in consistently as the only methods that work from his service are those that do not have an ID property. All services with an ID property give me the same error message.
-
Compilation Error while trying to Deploy my Web Service
My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
Started application : RTAService-RTAService-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
Operation failed with error:
Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
I don’t know where to look at for this issue. I don't get information about what compilation error it is.
I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
This is the Class I try to deploy has a web service:
package rtaservice;
import javax.jws.WebService;
@WebService(serviceName = "RTAWebService")
public class RTAWebService {
public RTAWebService() {
public TransactionResult Process(Transaction Trans) {
TransactionResult TransResult;
TransResult = new TransactionResult();
TransResult.Account_type ="";
TransResult.Address_Line1 ="";
TransResult.Amount ="";
TransResult.Approval_Cd ="";
TransResult.Approval_Cd_returned ="";
TransResult.Approved ="";
TransResult.Avs_Response_C ="";
TransResult.Avs_Response_M ="";
TransResult.BCFerries_Error_description ="";
TransResult.BCFerries_Processing_Mode =true;
TransResult.BCFerries_Resp_Code ="";
TransResult.BCFerries_Trans_approved =true;
TransResult.CardType ="";
TransResult.CVV_Code ="";
TransResult.CVV_response ="";
TransResult.DateTime ="";
TransResult.Display_Msg ="";
TransResult.ExtendedOPId ="";
TransResult.ID_Seq_Number ="";
TransResult.Invoice_num ="";
TransResult.Invoice_num_returned ="";
TransResult.ISOResponseCode ="";
TransResult.OperatorID ="";
TransResult.OperatorLanguage ="";
TransResult.OperatorMessage ="";
TransResult.Receipt_Msg ="";
TransResult.Receipt_Msg_Account ="";
TransResult.ReceiptRefNum ="";
TransResult.Response_Code ="";
TransResult.RFU1 ="";
TransResult.RFU2 ="";
TransResult.Statement_Desc ="";
TransResult.Term_ID ="";
TransResult.Term_ID_Group ="";
TransResult.Track2_Acc ="";
TransResult.Trans_Code ="";
TransResult.Transaction_Handle ="";
TransResult.TransactionCounter ="";
TransResult.TransactionHandle ="";
TransResult.Zip ="";
TransResult.Account_type_returned ="";
return TransResult;
There are 2 others classes to define the objects Transaction and Transaction Result
package rtaservice;
public class Transaction {
public Transaction() {
// Eigen parameters
public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
public String Term_ID; // should be the merchant ID
public String Term_ID_Group; // not used
public String Trans_Code; // should be all the time 27 right now
public String Track2_Acc; // ! there is a specific format to respect here
// Track2_Acc contains the data as read by a card reader from track 2 starting by ;
// for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
public String Amount; // in Cents
public String Approval_Cd;
public String DateTime; // format is YYYYMMDDHHMMSS
public String OperatorID; // Optional
public String ExtendedOPId; // Optional
public String OperatorLanguage; // Optional
public String Account_type; // not use for now
public String Statement_Desc; // not use for now
public String CVV_Code;
public String Address_Line1; // Optional
public String Zip; // Optional
public String TransactionHandle; // Optional
// additional parameters for future use
public String RFU1; // Reserved for future use
public String RFU2; // Reserved for future use
package rtaservice;
public class TransactionResult extends Transaction {
public TransactionResult() {
public String BCFerries_Resp_Code;
public String BCFerries_Error_description;
public Boolean BCFerries_Trans_approved;
public Boolean BCFerries_Processing_Mode;
// Eigen parameters
public String ID_Seq_Number;
public String Display_Msg; // Optional
public String Receipt_Msg; // Optional
public String Response_Code;
public String Approval_Cd_returned; // Optional
public String ISOResponseCode;
public String ReceiptRefNum;
public String TransactionCounter;
public String Approved;
public String OperatorMessage;
public String Receipt_Msg_Action; // Optional
public String Receipt_Msg_Account;
public String CardType;
public String Invoice_num_returned; // Optional
public String Account_type_returned;
public String CVV_response;
public String Avs_Response_C;
public String Avs_Response_M;
public String Transaction_Handle; // Optional
Thanks for your timeHi mythri.
Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
Thanks in advance.
Renan -
Deployment of web services in 11.1.1.3.0
Hi ,
I created the pl/sql web services successfully and when I am trying to deploy those in weblogic server its not deploying saying that deployment failed Fallowed by java errors …
Please Advice me the Steps to deploy the web services.
ThanksHi Ravi,
thanks for helping as per Ur Step 2 when i am trying to deploy on default Integrated Weblogic Server it not deploying fallowed by Java error
and i checked that my connection is same as my JNDI Name (XEDS)
Please guide me to deploy it in web logical server
Error message is
[04:27:21 PM] Weblogic Server Exception: weblogic.application.ModuleException: [HTTP:101216]Servlet: "MyWebService1Port" failed to preload on startup in Web application: "Application2-Project2-context-root.war".
java.sql.SQLException: Error looking up <java:comp/env/jdbc/XEDS>:
at xe.MyWebService1Base.<init>(MyWebService1Base.java:33)
at xe.MyWebService1User.<init>(MyWebService1User.java:11)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at weblogic.wsee.component.pojo.JavaClassComponent.createTarget(JavaClassComponent.java:49)
at weblogic.wsee.component.pojo.JavaClassComponent.<init>(JavaClassComponent.java:40)
at weblogic.wsee.ws.WsBuilder.setComponent(WsBuilder.java:1907)
at weblogic.wsee.ws.WsBuilder.buildService(WsBuilder.java:215)
at weblogic.wsee.ws.WsFactory.createServerService(WsFactory.java:54)
at weblogic.wsee.deploy.ServletDeployInfo.createWsService(ServletDeployInfo.java:91)
at weblogic.wsee.deploy.DeployInfo.createWsPort(DeployInfo.java:372)
at weblogic.wsee.server.servlet.BaseWSServlet.init(BaseWSServlet.java:83)
at javax.servlet.GenericServlet.init(GenericServlet.java:241)
at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1976)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1950)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1869)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3126)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1512)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:486)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:1267)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:409)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:43)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
[04:27:21 PM] Caused by: java.sql.SQLException: Error looking up <java:comp/env/jdbc/XEDS>:
[04:27:21 PM] See server logs or server console for more details. -
Problem when defining a web service
Hello,
I have defined several BAPI that I am calling from an external application by exopsing those BAPI using the SOAP adaptor.
All goes well for all of them except one.
For the one having problems the Integrantion engine is routing that call to different webservice than the one I expect it to do it,
these are some of the paramenters I use when defining the web service in the Integration Builder:
Interface name: MI_BAPI_PPMSRVAPS_GETLIST
Communitcation chanel: CC_SOAP_BAPI_PPMSRVAPS_GETLIST
Address: http://sapxi:50000/xisoapadapter/messageservlet?channel=:BS_WEBSERVICE_GREYCON:CC_SOAP_BAPI_PPMSRVAPS_GETLIST
but instead when I test the generated wsdl using soapUI: the integration engine returns this error:
Canceled with Errors 02.06.2010 15:04:22 02.06.2010 15:04:23 [websericename] [namespace]MI_BAPI_PDSSRVAPS_GETLIST
My guess is that at some point I defined wrong the web service but I have no way to redefine it or revert how it was defined.
I redefined the webservice with correct parameters, but there is no change in behaviour.
I checked server address and port (it is the exact same of the other BAPIs that work)
Where can I see all defined web services when they are defined via the Integration builder define web service option?
How to delete a webservice published this way?
Any advise?
Any help is very much appreciated.
Regards,
Mauricio PegoHello there.
Error: 404 Not Found
Description: The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.
Possible Tips:- for HTTP_RESP_STATUS_CODE_NOT_OK 404
u2022 404 is an HTTP response code that indicates that the resource in question couldn't be found. Usually this is due to an incorrect URL, so it is better to cross check all URLs. Check pipeline URL in the SLD in the business system of the Integration Server For this go to SLD->Business System-><yourIntegrtaion Server>->Pipeline URL: It should be like this http://<host>:<port>/sap/xi/engine?type=entry Where host is the host name of the Integration Server and port is the HTTP(8xxx) port. To verify this in Integration Server you can do like this. Go to SXMB_ADM->Integration Engine Configuration->Choose Edit from Menu -> Change Global Configuration Data to switch to change mode. Then select System Landscape - Load Configuration. (This is not required always)
u2022 Check that the port really is the ICM HTTP Port and not the J2EE port i.e SMICM then menu GOTO --> SERVICES and check the port number for HTTP. It should be HTTP port
u2022 If the error is Page cannot be displayed, cannot find server in https configurations Check and correct the SSL configuration for the ABAP and the J2EE side of the system
u2022 If the error is because of integration server when using Proxy communications then check these. i.e SXMB_ADM->Integration Engine Configuration->Corresponding Integration Server enrty should be dest://<Http Integration server-Destination> Where < Http Integration server -Destination > is the RFC destination (SM59) of type HTTP connection (type H) to the Integration Server. In this case, host name, port, and path prefix are saved in the RFC destination.
Try some of the recommendations that most apply to your case.
Hope it helps!
Regards,
Caio Cagnani -
Deploy a web service with the deploy tool (J2EE)
Hi!
I want to deploy a web service with the Deploy Tool (J2EE 1.4).
(For info, I'm working on Win 2000.)
I have the following error when I'm trying to deploy:
distribute: C:\monHello2\monApp.ear
Deploy action running...
Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
!!! Operation Failed !!!
Someone can help me, please? What's the problem?
Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
Should I add the .jar that is used by one of my class???? I think yes, but...
thank you and excuse me for my english... ;o)Only primitive types can be returned? Is thatcorrect????
true - for more details check out section 3.4.1.3 of
this book which is available for purchase or online
http://java.sun.com/blueprints/guidelines/designing_w
ebservices/I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed -
Deploy PLSQL web services on weblogic for 11g-URI not working
Dear all,
Scenario:
Using JDeveloper I deployed a web service from a PLSQL package to a war file. After that I deployed that war file on a weblogic (10.3.5) server manually not by using JDeveloper.
The deployment of the admin on the admin server is successfully done. While testing the application on the server itself again successful.
Problem:
But having an issue while trying to do the same using the URL giving in the application server.
404 -Not Found error is coming up.
Solutions tried so far:
Tried putting a html file to the created application in order to get the job done- Did not work out
Please I have no idea how to proceed. Quick responses are much appreciated.
Thank youHi. The [Service]-mapping.xml file is a standard "JAX-RPC mapping file" according the JSR-109 spec and WebLogic 9.2 doc ([1],[2]). That's the file that references the class. Here's a fragment:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd">
<package-mapping>
<package-type>co.com.acme.services</package-type>
<namespaceURI>urn:Service/types</namespaceURI>
</package-mapping>
<package-mapping>
<package-type>co.com.acme.services</package-type>
<namespaceURI>urn:Services/wsdl</namespaceURI>
</package-mapping>
<java-xml-type-mapping>
<java-type>co.com.acme.services.ServiceSEI_serviceOperation_RequestStruct</java-type>
<root-type-qname xmlns:typeNS="urn:Service/types">typeNS:serviceOperation</root-type-qname>
<qname-scope>complexType</qname-scope>
<variable-mapping>
<java-variable-name>String_1</java-variable-name>
<xml-element-name>String_1</xml-element-name>
</variable-mapping>
</java-xml-type-mapping>
I'll take a look at the ant task.
Thank you very much.
[1]http://download.oracle.com/otndocs/jcp/websvcs-1.0-fr-spec-oth-JSpec/
[2]http://otndnld.oracle.co.jp/document/products/wls/docs92/webserv/jsr109.html -
Error While Deploying A Web Service
Hello All,
I am trying to deploy a Web Service however when I am doing so I keeping getting this exception any idea what could be wrong:
5056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Server#Java#deploy_5029##Exception in operation update with application sap.com/reg~equip.#2#update#sap.com/reg~equip#
#1.5#005056BF5661006E000009A100000F5000043492CC869AC9#1183705008343#com.sap.engine.services.deploy##com.sap.engine.services.deploy#J2EE_ADMIN#93423####0d48d6a02b8e11dcba6b005056bf5661#SAPEngine_Application_Thread[impl:3]_130##0#0#Error#1#/System/Audit#Java###Exception {0}#1#com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Exception in operation update with application sap.com/reg~equip.
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.rollbackPart(ApplicationTransaction.java:394)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:294)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:326)
at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:3155)
at com.sap.engine.services.deploy.server.DeployServiceImpl.update(DeployServiceImpl.java:667)
at com.sap.engine.services.deploy.server.DeployServiceImplp4_Skel.dispatch(DeployServiceImplp4_Skel.java:1278)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:309)
at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:194)
at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:122)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Cannot deploy application sap.com/reg~equip.
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:328)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.begin(UpdateTransaction.java:164)
at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:292)
... 13 more
Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to update web services for application sap.com/reg~equip. . Additional info: none
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:164)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:118)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:86)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateManager.makeUpdate(WSUpdateManager.java:52)
at com.sap.engine.services.webservices.server.deploy.WSDeployer.makeUpdate(WSDeployer.java:274)
at com.sap.engine.services.deploy.server.application.UpdateTransaction.makeComponents(UpdateTransaction.java:400)
at com.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:319)
... 15 more
Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices deployment exception! The reason is: Error occurred, trying to generate web services deployment files for application sap.com/reg~equip. . The error refers to application: none, jar: {2}, web service: {3}.
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:296)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.deployWebServices(WSUpdateProcessor.java:262)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.updateWebServices(WSUpdateProcessor.java:155)
... 21 more
Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, parsing com.sap.engine.services.webservices.server.deploy.descriptors.sapwebservices.WSDescriptor descriptor, application sap.com/reg~equip, web service EmmServiceWS, location message: type: jar file, location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar . . Additional info: {1}
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:907)
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebService(WSDefinitionFactory.java:176)
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.loadWebServices(WSDefinitionFactory.java:158)
at com.sap.engine.services.webservices.server.deploy.ws.update.WSUpdateProcessor.generateDeployFiles(WSUpdateProcessor.java:284)
... 23 more
Caused by: com.sap.engine.interfaces.webservices.server.deploy.WSDeploymentException: Webservices common deployment exception! The reason is: Error occurred, trying to parse source type: zip entry, zip file location: D:\\usr\\sap\\ERP\\DVEBMGS10\\j2ee\\cluster\\server0\\.\\temp\\deploy\\work\\deploying\\reader1183705000828\\sap.com~reg~equip~ejbmodule.jar, entry: com/sap/reg/equip/appsrv/emmservice/EmmServiceWSVi.videf . Additional info: {1}
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:925)
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseWSDescriptor(WSDefinitionFactory.java:817)
... 26 more
Caused by: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlUnmarshalException: XML Deserialization Error. XML Node [VirtualInterface.Functions][http://xml.sap.com/2002/10/metamodel/vi] have minOccurs>0 in schema definition but is missing in node [VirtualInterface][http://xml.sap.com/2002/10/metamodel/vi].
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType._loadInto(GeneratedComplexType.java:1197)
at com.sap.engine.services.webservices.jaxrpc.encoding.GeneratedComplexType.deserialize(GeneratedComplexType.java:945)
at com.sap.engine.services.webservices.server.deploy.descriptors.vi.VInterfaceParser.getVInterface(VInterfaceParser.java:46)
at com.sap.engine.services.webservices.server.deploy.ws.WSDefinitionFactory.parseVI(WSDefinitionFactory.java:920)
... 27 moreHi,
Could not diagonise from this stack trace alone. But what doubt is that there is something wrong with cardinality in your web service. Otherwise something may have gone wrong like you mishandling a list or some mismatch like that.
Regards,
Srinivasan Subbiah
Maybe you are looking for
-
How to input data in a database table without knowing in advance table and column configurations
Hi, I have a problem using LabVIEW for input data (manually) in a SQL database. I have about 40 tables in the database, each of them is related to a specific engine component. I need to create a user interface (maybe visualizing the table with a tabl
-
Error in job execution in oracle reports
Hi, The end user is getting the following error when executing a job in Oracle reports. " RWCGI GET JOB OUTPUT Cannot get output of Job ID 4 you requested on December ,08 2008 , 11:35:18 Job is not done yet .Try again later" Can you please help .PLEA
-
I take pictures of a swim team and I keyword tag each image with the swimmers name. I would like to batch rename and save in a new folder the files so they have the original filename and then the keyword name. I don't see that as an option in the m
-
Switching off the workflows...
During actual production cutover, we need a means of switching off team center and other workflow updates that send information out of SAP during conversion runs and switch them back on again after conversion. We need something that we can use (like
-
I've been using Imovie on this machine for a over a year now and it has been working just fine. My usual procedure is to connect my Sony Mini DV camcorder via firewire. When I open Imovie, I set it to save the clips and project to external harddrive