Error accessing Web Services afer a Push Activation
I am facing a strange problem when I try to access a web service after my Midlet is activated via Push Registry: when the stub is trying to invoke the web service, the device (the Wtk 2.2 emulator) asks the permission to use the airtime Internet and, after I press Yes, it does nothing.
When I try to invoke the web service via an user activated Midlet, this problem does not exist and the connection to the web service is established.
I'm using Sun Wtk 2.2, sun Web Services API and the Push Registry. The target devices will work on CLDC 1.1 and MIDP 2.0.
Jorge
Weblogic does not have any such tool to call the web service hosted on remote machine.
However in order to drill down the issue, you can create a standalone class and try to access the remote web service from the same machine where the WLS is installed and the application is deployed.
If the standalone class can access the web service then this is the issue with the WLS configuration for sure.
Thanks,
Sandeep
Similar Messages
-
Error at run time When Access Web Service in web dynpro java
Hi
I am used web service created on other machine.I am used wsdl file created in web service.
is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
The initial exception that caused the request to fail, was:
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 50 more
please help me.
thank in advanceHi,
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
Procedure
To import a Web service model, proceed as follows:
1. Choose the context menu entry -
Create Model on the -
Models node of the relevant component.
2. In the model wizard, choose Import Web Service Model followed by Next.
3. In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
4. Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
5. If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
6. If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
7. Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
Hope this helps!!
Regards
Vijay -
How to check error type in accessing web service?
Dear all,
I have created a form using WSDL connection to access web service in SOAP protocol.
But I have difficulties in error handling when acccessing web service.
I try to put a try catch block for the following statement :
ie. xfa.connectionSet.WebServiceDC.execute(false);
in case for any error, I can only catch message saying GeneralFault only.
Is there any extra object in the script that I can catch to handle for different error type?
e.g checking SOAP.? and where should I put the codes in?
Actualy I want to detect if network connection is not ok or if it fails to find ecert which is required under https connection
Rgds.Have you tried the try catch block ?
See the error codes it responds with.
Then look through the properties of the Exception
try
doInit();
} catch(err)
var vDebug = "";
for (var prop in err)
vDebug += "property: "+ prop+ " value: ["+ err[prop]+ "]\n";
vDebug += "toString(): " + " value: [" + err.toString() + "]";
status.rawValue = vDebug;
function doInit()
doWebServiceCallThatFails();
Have fun with these articles
http://blogs.adobe.com/formfeed/2009/06/collected_form_development_and.html
http://blogs.adobe.com/formfeed/2009/03/handling_javascript_exceptions.html -
Error generating Web service /BIC/CQZDS_WEB00001000 how to over come this?
HI,
Experts,
I have created Web service source system by taking: target system BI and source system XI.
After creation of Info objects i have created data source in RSA1 there will no error displayed while CHECK but while activating the data source it was displaying errors like:
1) Error generating Web service /BIC/CQZDS_WEB00001000
2) Error when activating DataSource ZDS_WEBSERVICE BIDCLNT100
what will be the reason for this error plezase provide me good idea or provide step by step web service scenarious.
Thank you,
Shabeer Ahmed.Hi
Web AS 6.40 you can create a Web Service Proxy directly in Transaction SE80. Create a new package and right click on it. Choose Create -> Enterprise service / Web service -> Proxy object. Now you can choose how you want to provide the WSDL Source.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80fa3dff-ce76-2a10-3f94-f3df8f2db5a2 -
Not able to access web service with axis and tomcat
Dear all
i am trying to access web service using axis in tomcat.
i downloaded axis-bin-1_4.zip, unzipped it and installed it properly in tomcat.
i had tested axis, its working fine.
i had created a simple java class(a sample class from book) and deployed it in axis. i also created a client(a java consol class) for accessing that web service. but its giving error. i have no idea why this is comming.
plz point me in right direction.
thanks in advance
The error is:
Exception in thread "main" AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (404)/axis/ArithmeticProcessor.jws
faultActor:
faultNode:
faultDetail:
{}:return code: 404
<html><head><title>Apache Tomcat/6.0.14 - Error report</tit
le><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;ba
ckground-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;
color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Ari
al,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-f
amily:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-famil
y:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:
Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </hea
d><body><h1>HTTP Status 404 - /axis/ArithmeticProcessor.jws</h
1><HR size="1" noshade="noshade"><p><b>
type</b> Status report</p><p><b>message</b> <u&
gt;/axis/ArithmeticProcessor.jws</u></p><p><b>descriptio
n</b> <u>The requested resource (/axis/ArithmeticProcessor.jws) is n
ot available.</u></p><HR size="1" noshade="noshade
"><h3>Apache Tomcat/6.0.14</h3></body></html>
{http://xml.apache.org/axis/}HttpErrorCode:404
(404)/axis/ArithmeticProcessor.jws
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.j
ava:744)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrateg
y.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
at ArithmeticClient.main(ArithmeticClient.java:50)Hi ,
Please go through this link and check in this way only you created the webservice correctly or not. If not follow and do it definitely will get you the webservice access by iphone or any application.
www.scribd.com/doc/19255987/Web-Services-in-Abap -
Accessing web services for leave process
Hi,
We are looking to make a webesrvice for the leave process in ESS.
1. Are there any standard webservices that SAP provides for this process in ECC6? If yes, how do i access them in the portal?(I am unable to find the services in SICF)
2. If there are no standard webservices then i would like to make the BAPI's that SAP uses in the standard ESS package in portal and make them as web services. When i try to make it as a web service i get a error that web service cannot be created. Any pointers to resolve this error?
3. Is there any standard URL that i can pass in the portal for a WSDL system and access all the webservices available in ECC6 through thus URL.(Something like a web service repository).
Thanks in advance,
ArunHi Anton,
Thanks a lot for you quick response. Thanks for the info while using a BAPI, will keep this in mind before we decide to use the BAPI. We are looking at the option of using Visual Composer for the development. We are triying to create the WSDL System as per you suggestion using the URL
<b>http://<server>.<domain>:<httpport>/sap/bc/bsp/sap/webservicebrowser</b>
But this system fails in the connection tests in the portal with the error message
<b>Results
Retrieval of default alias successful
Connection failed. Make sure user mapping is set correctly and all connection properties are correct.</b>
Iam sure of the user mapping because when i connect with the URL
<b>http://<server>.<domain>:<httpport>/sap/bc/bsp/sap/webservicebrowser/search.html</b> i get a page that shows a huge list of services.
But how can i access all these services in Visual Composer through a single system created in the portal?
Thanks again
Arun E V -
Not able to access Web services
Hi all,
I am trying to access web services using the transaction WSADMIN.
But when i give the authorization while generating the WSDL, the following error pops up:
<b>Technical Details of Soap Core Exception
Message Text: SRT: ASSERT failed: object reference not bound
Class: CL_SOAP_REGISTRY
Method: generate_wsdl
LocationID: 6
Program: CL_SOAP_REGISTRY==============CP
Include: CL_SOAP_REGISTRY==============CM00J
Line: 59</b>
Can anyboby share his/her insights in this regard?
Thanks,
AnkitHi Fernando,
Thanks for this.
I was able to activate and deactivate the services. But i was not able to test these services (HTTP 500 Internal server error).
Also the services which are listed in the trnx SICF are not present in the trnx WSADMIN (I am using trnx WSADMIN to go to the home page of the web service and download the WSDL file of the service). What may be the reason?
Is there some configuration setting which I am missing or is it some other problem?
Regards,
Ankit -
Error Invoking Web Service Action: null
I am using the WEBSERVICE action in the BLS to access a third party system. I am getting an error during execution: [ERROR]: Error Invoking Web Service Action: null. I cannot find any messages in any of the logs. Even though the action fails, the remote WebService processes properly. My basis guy seems to think that it is related to SOAP incompatibilities/versions. Any other ideas floating around out there? Any other methods to troubleshoot? The external application uses Document-Literal Style web services and conforms to WS-I Basic Profile.
All -
Here is a trace. My remote web service returns an empty SOAP body upon success (SOAP envelope only). Is this causing the Null Pointer Exception??
PS - I am also getting a lot of "WARNING: received an illegal cookie" messages. Is this a problem.
[Wed Mar 19 16:38:08 EDT 2008] <?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope ...xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body> ...blah, blah...</soap:Body>
</soap:Envelope>
[Wed Mar 19 16:39:09 EDT 2008] java.lang.NullPointerException
[Wed Mar 19 16:39:09 EDT 2008] at org.apache.commons.httpclient.HttpMethodBase.getStatusCode(HttpMethodBase.java:590)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.webservice.SoapClient.invoke(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.actions.webservice.WebServiceAction.RawInvoke(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.actions.webservice.WebServiceAction.Invoke(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.core.Action.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.core.ActionSequence.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.engine.TransactionEngine.Process(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.engine.TransactionEngine.Execute(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.xacute.services.Runner.doGet(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
[Wed Mar 19 16:39:09 EDT 2008] at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:638)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:236)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.SERequestDispatcher.internalForward(SERequestDispatcher.java:283)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:96)
[Wed Mar 19 16:39:09 EDT 2008] at com.lighthammer.cms.system.CMSFilter.doFilter(Unknown Source)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.SEFilterChain.doFilter(SEFilterChain.java:60)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ApplicationInfo.filterApplRequest(ApplicationInfo.java:2159)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1823)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:937)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1091)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:973)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ServletExecService.processServletRequest(ServletExecService.java:167)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.ServletExecService.Run(ServletExecService.java:204)
[Wed Mar 19 16:39:09 EDT 2008] at com.newatlanta.servletexec.HttpServerRequest.run(HttpServerRequest.java:487)
[Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Version
[Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
[Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
[Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
[Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
[Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2
[Wed Mar 19 16:39:10 EDT 2008] WARNING: received an illegal cookie name: $Path
[Wed Mar 19 16:39:10 EDT 2008] Cookie: $Version=0; JSESSIONID=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/Lighthammer, $Version=0; JSESSIONPROXY=mZrFUwEbv-vJKx8dds2Swq6k9k; $Path=/
[Wed Mar 19 16:39:10 EDT 2008] User-Agent: Jakarta Commons-HttpClient/2.0.2 -
Error Invoking Web Service Action: Status (500): null
Hi forum
I am getting an "Invoking Web Service Action: Status (500): null" error when invoking a web service action block . The BLS transaction used as a web service outputs a text string which I tested using an xacute query . while executing the transaction as a web service the tracer tells me that there is no output .
Best regards,
Antonio
I am using an xMII 11.5 installation .
[INFO ]: Execution Started At: 04:17:46
[DEBUG]: 00000.01600 Begin Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[DEBUG]: 00000.01600 Begin Sequence Sequence : ()
[DEBUG]: 00000.01600 Begin Action WebService_0 : ()
[ERROR]: Error Invoking Web Service Action: Status (500): null
[ERROR]: ACTION FAILED: End Action WebService_0 : ()
[DEBUG]: 00000.11000 Begin Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 Begin Action Tracer_0 : ()
[INFO ]:
[DEBUG]: 00000.11000 End Action Tracer_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence_0 : ()
[DEBUG]: 00000.11000 End Sequence Sequence : ()
[DEBUG]: 00000.11000 End Transaction 'TMP45B360D9-0E02-2CF7-C4B4-F3C0B41C29E0'
[INFO ]: Execution Completed At: 04:17:46 Elapsed Time was 94 mSJamie,
Yes Indeed, I was calling inside a web service action another BLS transaction . Now , I am using a call to the transaction using the runner . It worked fine .
Thanks, -
Errors installing web service to use dreamweaver extension
Portal Version: 10g
OS/Vers. Where Portal is Installed:: Linux AS 2.1
Errors installing web service to use dreamweaver extension
Recently I download the dreamweaver extension for portal, but when I try to install it several errors are raised... in the installation guide the next message appear:
This installation for this feature is an easy 3 step procedure.
1. Installing the Portal web service
2. Configuring the web service to work with your portal (one time administrative process)
3. Installing the PortalTemplates extension for Dreamweaver MX
well but when I try to run the 1 step everything goes wrong...
in the guide say:
# Transfer this file to the OC4J_HOME/j2ee/home directory of the OC4J
(please make sure that the OC4J is up and running)
# Use the following command to install the web service
java -jar admin.jar ormi://<oc4j_host>:<oc4j_ormi_port>
<username> <password>
-deploy -file portalTemplate.ear -deploymentName portalTemplate
here it's where I have some questions,
1. the ormi referers to the rmi ok (I think that), well then I go tho the iasconsole and search for the ports and is show:
home RMI 3202
OC4J_Portal RMI 3203
OC4J_BI_Forms RMI 3204
then I use the home-> port 3202
java -jar admin.jar ormi://myhost.midtierinstall.com:3202
ias_admin ias_midtier_admin_password -deploy -file portalTemplate.ear -deploymentName portalTemplate
but the following messages appear :
Error: Unable to find java:ServerAdministrator : lookup error:javax.naming.AuthenticationException invalid username/passwod for default (ias_admin).... and the error continue... but the problem is that the password works when I use the enterprise manager in that midtier console...
I want to know if I'm doing something wrong or how I should use this command to install that web serviceThe ormi is the rmi port in the OC4J. This coold be found in oc4j_home/j2ee/home/config/rmi.xml file. The default port is 23791.
Hope this helps,
Ramya -
"Error in Web Service Execution"
Hi Guys,
Need your advise on this one. Upon receiving a Travel Request approval work item then trying to open the link I get the following error:
Error in web service execution : the launch handler was called with an incomplete parameter list
Any ideas?
RegardsHi Johan,
it seems when you clicking upon the link - it is sending a wrong set of parameters to underlying Web Service method. What I mean is - suppose the web service method is expecting 3 parameters - but the link click is actually effecting into sending less than that number. Please check what & how many parameter values are being sent to the web service.
Regards,
Shubho -
How to consume/access web services in forefront identity manager 2010 r2
Hi,
I have one web service in c# for authentication so i want to integrate this web service in my FIM 2010 R2.I want to ask one more question how to consume/access web service of FIM 2010 R2,so please tell me how is it possible in FIM 2010 R2 and
anybody have any example for consuming/accessing web service step by step in FIM 2010 R2.
Regards
Anil KumarHere is some C# code that accesses FIM resource attributes from the web services via the FIM 2010 Resource Management Client which I mentioned in an earlier post:
using System;
using System.Collections.Generic;
using Microsoft.ResourceManagement.Client;
using Microsoft.ResourceManagement.ObjectModel;
namespace MyTest
public partial class ResourceAttribute
public ResourceAttribute()
public string GetTypeAndDisplayName(string objectID)
String ReturnValue = String.Empty;
using (Microsoft.ResourceManagement.Client.DefaultClient client = new DefaultClient())
client.ClientCredential = CredentialCache.DefaultNetworkCredentials;
client.RefreshSchema();
string query = String.Format("/*[ObjectId={0}]", objectID);
foreach (RmResource res in client.Enumerate(query))
String displayName = res.DisplayName;
String objectType = res.ObjectType;
ReturnValue = displayName + " (" + objectType + ")";
break;
return ReturnValue;
You would just need to define your bindings and endpoints in your web.config. This method will return the DisplayName and ObjectType for the resource with the ObjectId matching the objectID argument. If you need more information, please provide more specifics
for what you are trying to accomplish.
There are many code examples for this library on its CodePlex home:
http://fim2010client.codeplex.com/ -
Getting a error invoking web service action block
HI
I am first time using web service action block in xmii. I am using it for executing my transaction . But it is giving error stating that
Error invoking web service action block. I dont know please help me out?Hi Mike,
I am using xMII - 11.5 version and with java 1.6.0_07. In My system i have installed service pack 3. When ever i use webservice action block and execute it, It gives error stating .
[INFO ]: Execution Started At: 11:07:16
[DEBUG]: 00000.01600 Begin Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
[DEBUG]: 00000.01600 Begin Sequence Sequence : ()
[DEBUG]: 00000.01600 Begin Action WebService_0 : ()
[ERROR]: Error Invoking Web Service Action: null
[ERROR]: ACTION FAILED: End Action WebService_0 : ()
[DEBUG]: 00001.42200 Begin Sequence Sequence_0 : ()
[DEBUG]: 00001.42200 Begin Action Tracer_0 : ()
[INFO ]: <?xml version="1.0" encoding="UTF-8"?><XacuteResponse xmlns="http://www.lighthammer.com/Xacute"><Rowsets DateCreated="2000-01-01T00:00:00" EndDate="2000-01-01T00:00:00" StartDate="2000-01-01T00:00:00" Version=""><FatalError/><Messages><Message/></Messages><Rowset><Columns><Column Description="" MaxRange="0.00" MinRange="0.00" Name="" SQLDataType="0" SourceColumn=""/></Columns><Row><Output/></Row></Rowset></Rowsets></XacuteResponse>
[DEBUG]: 00001.43700 End Action Tracer_0 : ()
[DEBUG]: 00001.43700 End Sequence Sequence_0 : ()
[DEBUG]: 00001.43700 End Sequence Sequence : ()
[DEBUG]: 00001.43700 End Transaction 'TMP83E3D064-F6E8-4E3D-647F-6CE6B41C9E83'
[INFO ]: Execution Completed At: 11:07:17 Elapsed Time was 1421 mS
please help me out . -
CompileException: Error compiling web service (using ant jwsc)
Hi,
I try to use the ant task jwsc to create my portable artefacts for a web service.
Unfortunately I get the following exception:
BUILD FAILED
C:\Sun\jwsdp-2.0\apache-ant\bin\build.xml:7: weblogic.wsee.tools.jws.build.CompileException: Error compiling web service: C:\Sun\jwsdp-2.0\apache-ant\bin\src\test\WsTest.java
I do not know why the ant task can not compile my jws file (shown below) whereas Eclipse can!
package test;
import javax.jws.WebService;
@WebService (name="WsTestName", serviceName="WsTestServiceName")
public class WsTest {
* @param name
* @return Say hello to the person.
public String sayHello(String name) {
return "Hello, " + name + "!";
I hope somebody can help me.
Thanks
FranzI thought I would post an update since I found a solution. The problem was a ClassCast exception in a part of the SSL stack, that wanted to use the ant BuildException class. This has the effect of hiding the real issue which was that the SSL connection was not successfully occuring. The real problem was that the SSL connection started with a WSDL retrieved via SSL, but the connection for the port was through a username/password. When a username/password is used to create a port, the WL stack falls back to http and causes a ClassCast exception on weblogic.wsee.connection.transport.http.HttpTransportInfo. The solution is to create an https transport object when the service impl is created:
HttpsTransportInfo transport = new HttpsTransportInfo ();
transport.setUsername (user.getBytes ());
transport.setPassword (pass.getBytes ());
gServiceImpl = new PersistenceManagerService_Impl (url, transport);
and to create the port without parameters:
port = getServiceImpl ().getPersistenceManagerServicePort ();
This allows one-way SSL with username/password for the connection. -
Can anybody tell how to access web service from Message Driven bean
Can anybody tell how to access web service from Message Driven bean
Can anybody tell how to access web service from Message Driven bean
Maybe you are looking for
-
HT201302 is my iphone phone pinpoint accurate when using find my iphone?
how accurate is the location of the find my iphone app?. and sometimes when im looking for my lost iphone it shows thel ittle green dot in different places everytime i refresh in the icloud website?
-
Incomplete DDL export for tables
I'm using SQL Developer 1.2.1 Build 32.13 on Debian GNU/LInux. If I create tables like these: create table t_0 a number not null alter table t_0 add constraint pk_t_0 primary key( a ); create table t_1 a number, b varchar2( 100 ) not null, c varchar2
-
My time capsule turns on and then turns off...
my time capsule turns on, then amber light is blinking and then it turns off. the whole story takes 15 sec. any suggestions? is this the end?
-
HT4993 I need help with an Activation Error Message on my Iphone 5
Hi I am having Trouble with my IPhone 5 It shows an Activation Error message
-
dear friends, i got a report with the fields EMPLOYEENUMBER, PROJECTNUMBER,PROJECTROLE, ASSIGNEDBY,ASSIGNEDUNTIL . my requirement is whenever a EMPLOYEE login into bw with his LOGIN CREDENTIALS he should be able to see the information related to him