Barcode Webservice Issues
Hi,
I am trying to generate and barcode from a webservice (http://www.webservicex.net/barcode.asmx?WSDL) which returns the barcode image in base64 stream.
Input:
====
POST /barcode.asmx HTTP/1.1
Host: www.webservicex.net
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.webserviceX.NET/Code39"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Code39 xmlns="http://www.webserviceX.NET">
<Code>string</Code>
<BarSize>int</BarSize>
<ShowCodeString>boolean</ShowCodeString>
<Title>string</Title>
</Code39>
</soap:Body>
</soap:Envelope>
Output:
=====
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<Code39Response xmlns="http://www.webserviceX.NET">
<Code39Result>base64Binary</Code39Result>
</Code39Response>
</soap:Body>
</soap:Envelope>
I used Jdeveloper 9.0.3 to create a stub for this service:
public Byte[] Code39(String Code, Integer BarSize, Boolean ShowCodeString, String Title) throws Exception ...
When I try to write this Byte[] stream to a file, it is always empty.
public static void main(String[] args)
try
WSBarCodeStub stub = new WSBarCodeStub();
// Add your own code here.
String arg1 = "CODE39";
java.lang.Integer arg2 = new java.lang.Integer(10);
Boolean arg3 = Boolean.TRUE;
String arg4 = "Ashish";
System.out.println("Calling "+stub.endpoint);
Byte[] res = stub.Code39(arg1,arg2,arg3,arg4);
String fileName = "test.txt";
FileOutputStream out = new FileOutputStream(fileName, true);
System.out.println(" Result "+res+" Length "+res.length);
try
for (int i =0; i<res.length;i++)
System.out.print(res[i]+",");
//out.write(res);
finally{
if (out != null) {
out.close();
//out.close();
System.out.println(" Trying to Write to File ");
catch(Exception ex)
ex.printStackTrace();
System.out.println(res[i]) produces an output:
Result [Ljava.lang.Byte;@129f3b5 Length 609
-119,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,0,59,0,0,0, ......
But the file is always empty... I am not an expert in Java or WebServices, so excuse me if this is something obvious that I am overlooking.
Any pointers would be greatly appreciated.
Thanks,
Ashish
Sorry...
Found out the issue with the file not being created... My bad..
Sorry for the inconvenience...
Message was edited by:
Ashish Srivastava
Similar Messages
-
How to Handle BARCODE related issues in WebDynpro ABAP
Hi All,
How to handle barcode related issues in WDA?
is it possible in WDA or not?
please provide information or any links related..
Thanks,
raj.Hi ,
You just need to install the software comes with the barcode scanner in the local PC and while reading you have to put the cursor on the field like inputfield . a barcode when interpreted by scanner is nothing but alphanumeric words.
Regards
Yash -
Barcode pritner issue in smartform printing
Dear Experts,
I have problem with barcode printing. I have only one page in my smartform and there is table in that. I need to print delivery number as barcode. I have writtern logic for that and its working fine. But when I print my output in BARCODING printer, the delivery number is printing as barcode properly but rest of all characters also printing as barcode. Every thing in the output is appearing as all barcodes. I can not see any data in the output all are barcodes only.
Could you please help me on this issues.
Thanks for your time,
Regards,
J.PSolved myself
-
Webservice issue from WLP 8.1 to WLP 10.3
Hi,
We are upgrading WLP 8.1 to WLP 10.3 webservices and other portal projects, we are facing the following problem and if any one help me in this issue urgently. Got struck in this issue at 3 days.
Issue:
====
1. Using upgrade wizard, converted WL 8.1 WSDL and webservice control file(JCX) files into WLP 10.3.
2. When I run the upgrade control file in WL 10.3 it is not working and not invoking the webservice call.
3. We are using style as 'rpc' in WSDL.
WSDL using "rpc"
==========
<wsdl:binding name="app__LookupBinding" type="tns:app_Request">
<soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="NDC_Citation_Lookup">
<wsdl:documentation>The operation has no documentation</wsdl:documentation>
<soap:operation style="rpc" soapAction="/tibco/SAPRFC/Starter/apppath" />
</wsdl:binding>
Webservice Control
==============
@ControlExtension()
@ServiceControl.HttpSoapProtocol()
@ServiceControl.Location(urls = {
"/tibco/SAPRFC/Starter/apppath"
@ServiceControl.SOAPBinding(style = ServiceControl.SOAPBinding.Style.RPC,
use = ServiceControl.SOAPBinding.Use.LITERAL)
@ServiceControl.WSDL(path = "app.wsdl",
service = "app__Lookup")
public interface AppControl extends com.bea.control.ServiceControl
Can any one throw up lights to solve this issue asap?
Thanks in Advance
Santhana.Finally worked. Thanks Deepshet. Thanks for your hint or clue in this issue.
Yes, I did re-generate the weblogic service control from wsdl on WL10.3 and new service control as follows:
Solution:
webservice Control:
=============
public void hello_World(java.lang.String NAME_arg,java.lang.String CITY_arg,javax.xml.rpc.holders.StringHolder GREETING_arg,javax.xml.rpc.holders.StringHolder STATUS_arg);
Page Flow Control
============
import javax.xml.rpc.holders.StringHolder;
StringHolder holder1 = new StringHolder();
StringHolder holder2 = new StringHolder();
helloworld.hello_World("your name", "city",holder1,holder2);
System.out.println("holder1 value is>>" + holder1.value);
System.out.println("holder2 value is>>" + holder2.value);
Note: Weblogic 8.1 upgraded Webservice control did not work properly in Weblogic 10.3. Don't upgrade webserice control from weblogic 8.1 to weblogic 10.3.
You need to regenerate the control in weblogic 10.3.
Note1: Oracle Weblogic development team, pls note this an issue or bug from upgrade Wizard at weblogic 10.3 -
SAP SCRIPT Barcode Printing Issues
Hi ,
I'm printing 3of9 , barcode in sap script, which has width of 1CM and height of 1CM, the problem is once it's printed, barcode is being printed at higher position than it's supposed to be and creating alignment issues and also introduces blank lines in between .
Has any opne faced this problem , and how to over come this.
Regards,
RaghavendraWith SAPscript, barcodes are produced only by each printer (according to BarSimm or whatever technology you use). The preview is just an approximation made by SAP. So, you must trust your printer and adapt your SAPscript until it prints correctly.
-
Barcode scanning issues ! Urgent!
Hi all,
I have designed labels using standard barcode " CD39C_00"
CODE 39.
The problem is after scanning at the end it is appending a alphanumeric character at the end when scanned using "LXE" scanner.
Did anyone of you faced this problem before? I need to address this issue rightaway, this is causing hinderance to our testing process.
Regards.Hi Sridhar,
The scanner was doing good for another barcode sample of Code 39 but for this sample it is appending this character. we are using this 2nd sample because of the size constraints on the label.
So, it is actually scanning one properly and appending a character for another type but both are from Code 39.
Secondly, where can i look for the setting in scanner?
Thanks for the help help sridhar i really appreciate it.
Regards. -
Hi All,
I have JSON web services , I am using script component to fetch data from Webservice to sql server table.
The code is working fine, if I am using sample JSON Webservice .
http://www.geoplugin.net/json.gp?jsoncallback . But when I am using HTTPS:URL , it is giving below error .
[Error Getting Data From Webservice!] Error: System.Net.WebException: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Thanks in Advance..Hi BHVS,
According to the error message, the issue is that the certificate you are using in your web server, or the certificate in the server exposing the service you are consuming, are not issued by a trustworthy authority.
To overcome this error, we need to install the correct certificate that is used by the web service provider in the server that will be calling the web service.
For more details, please refer to the following blog:
http://www.outsystems.com/forums/discussion/5690/web-services-could-not-establish-trust-relationship-for-the-ssl-tls/
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Barcode printing issues with Laserjet 1100 8.1 driver
Hi All,
I've ran into issues printing coupons to my Laserjet 1100 printer using Windows 8.1. This worked with no issues (and still does) in Windows 8. Looking at the driver versions, it appears that something was updated form 8 to 8.1.It seems this issue is related
to printing any barcodes. Has anyone else encounters this? Is there any way I can use the Windows 8 driver instead?For anyone interested, the way I was able to fix this issue is with the
HP Universal Print Driver for Windows PCL6
http://h20566.www2.hp.com/portal/site/hpsc/public/psi/swdHome/?sp4ts.oid=4157320&ac.admitted=1399039456352.876444892.199480143
I selected Windows 8.1 x64, then downloaded the PCL5 driver and now the barcodes work. -
Portal webservice issue with SP14 - NWDS
Hi Experts,
Is it possible to create Portal webservice from SP14 - NWDS?
Issue: I have created a Portal service, trying to create a webservice from Portal service but I am not getting the Portal Webservice option (Select the Portal Service -> New -> Other -> Portal Application -> Create a new Portal Application Object -> Clicked on Next button -> Selected the Portal Service -> Next button ->Here I could able to see only three options ( (1)RF Component Wizard7.1.5 (2)Portal Component (3)Portal Service ). I am not getting the Portal webservice option. In my previous thread got the info that, in SP12 we could able to have the Portal webservice option. May I know the proper link to download the NWDS which supports Portal webservice from service market place?
Regards
SaraHi,
From service market place http://service.sap.com/sp-stacks , choose NW04 or 04S. Choose source and destination patch, check WAS and others. From next page, you can check the box for studio alone for download.
Regards,
Harini S -
I am developong a WebService Client ..The webservice we are accessing requires that we use SOAP 1.2 for all communications.
Can you please help me with the following query?
For the purpose to satisfy the requirements, I am using the SAAJ 1.3 APIs. I have imported saaj-api.jar and saaj-impl.jar. I am using WSAD 5.1.0 as the IDE.
I am unable to create a SOAP message. The same works when I use the default SAAJ APIs available with WSAD.
//Create Message
MessageFactory requestMessageFacto ry = MessageFactory. newInstance( SOAPConstants. SOAP_1_2_ PROTOCOL) ;
SOAPMessage requestMessage = requestMessageFacto ry.createMessage ();
//Get the SOAPBody
SOAPEnvelope requestEnvelope = requestMessage. getSOAPPart( ).getEnvelope( );
requestBody = requestEnvelope. getBody() .addBodyElement( requestEnvelope. createName( "Request" );
//Add Body element to SOAP Body
SOAPElement hdrTag = requestBody. addChildElement( requestEnvelope. createName( "Hdr"));
SOAPElement reqBdyTag = requestBody. addChildElement( requestEnvelope. createName( "ReqBdy") );
System.out.println( requestBody. toString( ));
The above line returns the value as [Request: null]
1. Can you please let me know where I am may be going wrong?
2. Is this a problem due to compatibility issue?
3. If SAAJ 1.3 is not preferable for implementation of SOAP 1.2 in WSAD, what other ways I can generate/handle SOAP request/response?I was trying to find out the cause of this error and i find out that if i use METRO library it runs successfully but when i use JAX-WS 2.1 i got the same error on local machine also.
I have also uploaded METRO library to server under WEB-INF/lib folder.
Any Idea? how to solve this error?
Thanks -
Upgrading to weblogic 10.3.6 (Webservice Issue) !!!
We are running into the below stack trace when we have a webapp being migrated to weblogic 10.3.6.
com.sun.xml.ws.util.ServiceConfigurationError: com.sun.xml.ws.api.client.ServiceInterceptorFactory: Provider weblogic.wsee.jaxws.spi.WLSServiceInterceptorFactory is specified in jar:file:/hosting/products/oracle/wl1036/wlserver_10.3/server/lib/weblogic.jar!/META-INF/services/com.sun.xml.ws.api.client.ServiceInterceptorFactorybut could not be instantiated: java.lang.ClassCastException: Cannot cast weblogic.wsee.jaxws.spi.WLSServiceInterceptorFactory to com.sun.xml.ws.api.client.ServiceInterceptorFactory
at com.sun.xml.ws.util.ServiceFinder.fail(ServiceFinder.java:233)
at com.sun.xml.ws.util.ServiceFinder.access$300(ServiceFinder.java:141)
at com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:379)
at com.sun.xml.ws.api.client.ServiceInterceptorFactory.load(ServiceInterceptorFactory.java:80)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
at com.bofa.webservices.uum.UUMAuthManagerService.<init>(UUMAuthManagerService.java:42)
at com.bofa.servlet.ECMServlet.getSessionSpec(ECMServlet.java:99)
at com.bofa.servlet.ECMServlet.init(ECMServlet.java:50)
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:120)
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:1981)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
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:52)
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:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
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.StartOperation.doCommit(StartOperation.java:149)
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:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.lang.ClassCastException: Cannot cast weblogic.wsee.jaxws.spi.WLSServiceInterceptorFactory to com.sun.xml.ws.api.client.ServiceInterceptorFactory
at java.lang.Class.cast(Class.java:3133)
at com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
... 52 more
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1520)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
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:52)
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:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
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.StartOperation.doCommit(StartOperation.java:149)
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:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: java.lang.ClassCastException: Cannot cast weblogic.wsee.jaxws.spi.WLSServiceInterceptorFactory to com.sun.xml.ws.api.client.ServiceInterceptorFactory
at java.lang.Class.cast(Class.java:3133)
at com.sun.xml.ws.util.ServiceFinder$LazyIterator.next(ServiceFinder.java:374)
at com.sun.xml.ws.api.client.ServiceInterceptorFactory.load(ServiceInterceptorFactory.java:80)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:201)
at com.sun.xml.ws.client.WSServiceDelegate.<init>(WSServiceDelegate.java:174)
at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:104)
at javax.xml.ws.Service.<init>(Service.java:56)
at com.bofa.webservices.uum.UUMAuthManagerService.<init>(UUMAuthManagerService.java:42)
at com.bofa.servlet.ECMServlet.getSessionSpec(ECMServlet.java:99)
at com.bofa.servlet.ECMServlet.init(ECMServlet.java:50)
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:120)
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:1981)
at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
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:52)
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:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
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.StartOperation.doCommit(StartOperation.java:149)
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:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)The issue is happening as there are two different implementations of ServiceInterceptorFactory feature loaded by Classloader of Weblogic
i.e the weblogic.wsee.jaxws.spi.WLSServiceInterceptorFactory and com.sun.xml.ws.api.client.ServiceInterceptorFactory
Choose the relevant jar having the above class and add it to the classpath argument of the Server or add a filtering classloader
You could also package the relevant jar under web-inf/lib folder of your application and set prefer-inf-web-classes to true in the weblogic.xml file
Hope this solves the issue!!
Vijaya
===== -
Intermec CK31 Barcode Scanning Issues
Hello,
Has anyone experienced issues with MI 2.5 CrEme 3.26 running on a CK31 / CE.NET 4.2. We are having issues of barcodes partially scanning into AWT text fields(ie first few characters with every other character scanning). The application works fine on another intermec device with windows mobile.
Thanks
JoshHi Josh!
It could be one of the 2 issues
(1) The Scanner integrated with the CK31 doesnot scan correctly.Very less possibility for this.
(2) The software that is running your application is not able to interpret the scan and display it into AWT text fields.
For #1 you can try to scan the barcode outside your AWT application in any input field and could confirm the scanner is scanning the entire barcode.
For #2 are you able to Hand Key in the entire barcode value in to your field.
Hope you might have tried these options already.If so then it confirms that the issue is related to running your application on a CK31 / CE.NET 4.2
Thank You
Gisk -
Dear all,
We have a BOBJ report which is in BO 3.1 system.
We got a requirement from users to provide a URL link in that report , to capture whether the report data is approved or rejected.
This URL need to update the approval or rejected information in BI system of version 7.0.
for this i have developed two options as solutions. Each solution is having an issue.
1. I have create a Webdynpro application and provided the URL. It is working fine and updating the data in custom table.
but the issue here is,WEBDYNPRO is generating a Browser window, but users don't want this window to be appeared.
Is there any way in Webdynpro to update this data, but not to open the Browser or automaticlally close it?
2. So as another solution, i have developed a Webservice in ABAP(I am new to Webservices) and tested with SOAPUI which is working fine.
So, i have provided the Same URL for BO report.
But this is also generating a Browser window and giving the message as
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
and the data also not updating. What is the issue and how to resolve it?
Please help.
Thanks,
VamshiHi Vamshi,
For the first option i think you can try the fm " WDY_EXECUTE_IN_PLACE" and in application parameter pass webdynpro component name. With this it doesnt open an new browser.
Call this FM in report program.
ex:
CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
EXPORTING
* PROTOCOL = " HTTP | HTTPS
* INTERNALMODE = 'X' "SPACE - browser is started
* PARAMETERS =
application = 'Z_Test_appln'
* CONTAINER_NAME =
EXCEPTIONS
invalid_application = 1
browser_not_started = 2
OTHERS = 3.
IF sy-subrc EQ 1.
MESSAGE a400.
ELSEIF sy-subrc = 2.
MESSAGE a401.
ELSEIF sy-subrc = 3.
MESSAGE a667.
ENDIF.
Best Regards,
K.Srikanth Reddy -
XML data Upload in BW ( Webservice issue)
I am following the SDN document of 'How to load XML data into BW' and followed the steps till 19 and 26( BW3.5 need to skip steps in between).
As mentioned I have followed the steps to create the web service properly. However while testing I am getting certain errors.
1> Option 1 : Go to transaction wsconfig display the webservice Zsendxmldatatobw_1 è select and display è click the button Execute the webpage for the webservice http://fmsap562.fm.intel.com:50100/sap/bc/srt/rfc/sap/Zsendxmldatatobw_1
It says that the requested resources not found although I have checked that this services as well Soap Runtime service(srt) is activated as well.
I suspect that the webservice created by me is for some reason not visible from the web browser
Can any body help beyond this point.
Thanks
ArunabhaHi arun,
From BW side you have to create XML Data Source and you have to activate data transfer to delta queue. And after that you create web service and realease it in SOAP run time environment.
Check this weblog on XI-BI Integration, it will give you good idea of creating XML datasource and actiavting delat queue.
/people/kamaljeet.kharbanda/blog/2005/09/16/xi-bi-integration
The document which you are reading is for sending an XML data to BW using XI, it will give you idea abt configuring XI and creating ABAP proxy and as you are trying through web services, so its of no use.
Rest you can check in detail in above weblog
Regards,
Kamaljeet
Message was edited by: kamaljeet singh -
SAP Adobe Livecycle barcode printing issue
SAP Adobe Livecycle: The Barcode printing using internal table: Even though the value is not there in the bar code field column of the internal table, for some reason it is printing the bar code for all lines. Does anyone know why?
Iam not sure but this might be the problem .
Please check if the barcode you have used has any default value set in the Form which is getting printed in case you dont have any value in the barcode field.
thanks
kumar
Maybe you are looking for
-
Hi all, I am using LabVIEW 2011 SP1. I am running such a vi which is calling another vi by selecting a boolean button. After opening the new vi, the previous vi will stay opened but being minimized and the new vi will stay maximized untill user force
-
Hi @ll, can anybody say why I get the syntax error The column name "VKORG" has two meanings. ABAP/4 Open SQL statement. Thanks Kam SELECT vtweg vmsta mtpos vkorg FROM MVKE INNER JOIN YMMARKET_CODE ON mvkevkorg = ymmarket_codevkorg I
-
Hi, I am trying to get the output from a script read into a parameter. This is part of my workflow. I added a parameter as OUT for this user external process. And my script echoes the value I want. But it is not being picked up in the workflow. I als
-
Bluetooth and headphones in IPAD
I am using I-PAD ist generation. How can I setup my I-PAD to use a bluetooth headset device and listen to headset directly to the headset input? I connect my headsets alone and it works fine. I connect my bluetooth device for my headsets and it works
-
i am facing a problem in a LOV display, one of the columns had a length of 4 earlier from the base table used in the LOV but after changing the base table to 10, actual column length is 5 but the fifth character is not showing in the LOV. I hope, my