Asynch web services having serialization problem wint 7.0SP1

Hi,
I've tried creating a simple async web service that sends a Java bean to a web
service that's implemented
as an MDB. i.e. The java bean is of type malcolm.AimosMatchedRequest and is therefore
delivered as
an ObjectMessage.
I keep getting a deserialising error listed below in the Weblogic log.
Now if I do a serialver on my Javabean class I get the value 6661344068394585445
in agreement with the log for the stream classdesc. I therefore presume that
the
local class, is the server view which I guess is the SOAP unmarshaled/generated
class that
WebLogic is expecting???
How do I deal with this problem? Note that explitiely forcing the serialuid in
my Javabean class
does not help, which to me confirms that WebLogic is geenrating some SOAP equiv
class.
regards
--malcolm
weblogic.jms.common.JMSException: Error deserializing object
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
a:140)
at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
java:290)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
----------- Linked Exception -----------
java.io.InvalidClassException: malcolm.AimosMatchedRequest; Local class not comp
atible: stream classdesc serialVersionUID=6661344068394585445 local class serial
VersionUID=7727103220180333880
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:5
18)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:931)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
a:128)
at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
java:290)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
weblogic.jms.common.JMSException: Error deserializing object
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
a:140)
at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
java:290)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)
----------- Linked Exception -----------
java.io.InvalidClassException: malcolm.AimosMatchedRequest; Local class not comp
atible: stream classdesc serialVersionUID=6661344068394585445 local class serial
VersionUID=7727103220180333880
at java.io.ObjectStreamClass.validateLocalClass(ObjectStreamClass.java:5
18)
at java.io.ObjectStreamClass.setClass(ObjectStreamClass.java:562)
at java.io.ObjectInputStream.inputClassDescriptor(ObjectInputStream.java
:931)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:361)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at java.io.ObjectInputStream.inputObject(ObjectInputStream.java:1181)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:231)
at weblogic.jms.common.ObjectMessageImpl.getObject(ObjectMessageImpl.jav
a:128)
at malcolm.AimosMatchedBean.onMessage(AimosMatchedBean.java:68)
at weblogic.ejb20.internal.MDListener.execute(MDListener.java:356)
at weblogic.ejb20.internal.MDListener.transactionalOnMessage(MDListener.
java:290)
at weblogic.ejb20.internal.MDListener.onMessage(MDListener.java:271)
at weblogic.jms.client.JMSSession.onMessage(JMSSession.java:2303)
at weblogic.jms.client.JMSSession.execute(JMSSession.java:2226)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:153)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:134)

Bruce Stephens <[email protected]> wrote:
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Hi Malcolm,
<p>There's been a significant amount of work done on async services in
conjunction with reliable ws messaging that will be available in the
next
release.
<p>Can you/your customer be part of the upcoming beta?Certainly keen to participate. I presume from what you've said that SP1 is still
problematic for async. I've found that SP1 seems pretty good for synch web services
(addressed issues I had with 7.0).
regards
--malcolm
<p>Thanks,
<br>Bruce
<p>Malcolm Robbins wrote:
<blockquote TYPE=CITE>Wow,
<br>  based on no replies it appears that no one is actually using
asynch web services.
<p>It looks like I better recommend to my (large bea customer) that WebLogic
async
<br>web services are not ready for prime time...
<p>regards
<p>--malcolm</blockquote>
</html>

Similar Messages

  • Web service empty relationship problem

    hi all,
    I have a pretty simple web service. Two entities, a citizen and a business. A citizen is able to register 0..n businesses. There is a WS which reads the citizen. When the business key list in citizen is empty the web service wont return the citizen (portal request failed could not execute web service operation). When at least one relation is defined all works fine.
    I've tested the web service. The problem occurs only with VC.
    thanks for your help,
    regards, felix

    Hi Ankur,
    no, not exactly...
    The webservice is tested with an id as input and returns some string values (name, firstname...) and a list of references to other objects. When this list is empty...(depending on the back end system)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'></ns1:businessRef>
    ... visual composer returns an error.
    when this list is not empty (again depending on database entries in the back end)
    part of the SOAP message:
    <ns1:businessRef xmlns:ns1='urn:com.sap.bureg001.core.besrv.citizen' xmlns:pns='urn:java/lang'><pns:String>c22bc900-dec3-11db-cdce-00505625e523</pns:String>
    </ns1:businessRef>
    ... visual composer does not return an error but returns the values like the service is supposed to do.
    Testing the web service with Web Services Navigator both scenarios are working without problems.
    thanks for your fast response,
    felix

  • Problem in running a web service having Native Method invocation

    Hi guys,
    i am trying a run web service, that is calling some Native Method
    The arguement for the operation is a byte[] and the return type is boolean.
    The web service type i am using is "Documentary-Literal"
    Actually what happend is, whenever i am calling the web service, i didn't get any error or exception, but i didn't get any output too.
    if the code inside the operation is executed properly then, operation should return FALSE, but now it is returning TRUE.
    What may be the problem?
    someone help me..........
    thanx,
    subbu

    Hi guys,
    i am trying a run web service, that is calling some Native Method
    The arguement for the operation is a byte[] and the return type is boolean.
    The web service type i am using is "Documentary-Literal"
    Actually what happend is, whenever i am calling the web service, i didn't get any error or exception, but i didn't get any output too.
    if the code inside the operation is executed properly then, operation should return FALSE, but now it is returning TRUE.
    What may be the problem?
    someone help me..........
    thanx,
    subbu

  • Web service model initialization problem

    Hello, every one
    I have some trouble in the initialization of web service model.
    I tested the web service through web service navigator and it was ok.
    My context structure is:
    Request_ZBAPIWCALIST_zbapiWcalist(0..n)
    --parameters(0..1)
    rBdate(0..n)
    high(string)
    low(string)
    option(string)
    sign(string)
    --Response(0..1)
    Result(0..1)
    tWca(0..n)
    estat(string)
    istat(string)
    Following is my codes:
    Request_ZBAPIWCALIST_zbapiWcalist model = new Request_ZBAPIWCALIST_zbapiWcalist();
    ComplexType_ZbapiWcalist parameter = new ComplexType_ZbapiWcalist();
    model.setParameters(parameter);          
    ComplexType_ZbapiRBdate rBdate = new ComplexType_ZbapiRBdate();
    ComplexType_ZbapiRResp rResp = new ComplexType_ZbapiRResp();
    ComplexType_ZbapiRTplnr rTplnr = new ComplexType_ZbapiRTplnr();
    ComplexType_ZbapiRWapinr rWapinr = new ComplexType_ZbapiRWapinr();
    ComplexType_ZbapiRWapius rWapius = new ComplexType_ZbapiRWapius();
    ComplexType_ZbapiWcalistImport wcaImport = new ComplexType_ZbapiWcalistImport();
    rBdate.setLow("2007-7-1");
    rBdate.setHigh("2007-7-2");
    rBdate.setOption("EQ");
    rBdate.setSign("I");          
    rResp.setLow("");
    rResp.setHigh("");
    rResp.setOption("");
    rResp.setSign("");
    rTplnr.setLow("");
    rTplnr.setHigh("");
    rTplnr.setOption("");
    rTplnr.setSign("");
    rWapinr.setLow("");
    rWapinr.setHigh("");
    rWapinr.setOption("");
    rWapinr.setSign("");
    rWapius.setLow("");
    rWapius.setHigh("");
    rWapius.setOption("");
    rWapius.setSign("");
    wcaImport.setAnye("");
    wcaImport.setAnyi("");
    wcaImport.setSpd("");
    wcaImport.setStatu("");
    wcaImport.setWerks("");          
    ZbapiRBdate rBdateBean = rBdate.getOriginalBean();
    ZbapiRResp rRespBean = rResp.getOriginalBean();
    ZbapiRTplnr rTplnrBean = rTplnr.getOriginalBean();
    ZbapiRWapinr rWapinrBean = rWapinr.getOriginalBean();
    ZbapiRWapius rWapiusBean = rWapius.getOriginalBean();
    ZbapiWcalistImport wcaImportBean = wcaImport.getOriginalBean();
    ZbapiRBdate[] rBdateArray = new ZbapiRBdate[1];
    rBdateArray[0] = rBdateBean;
    ZbapiRResp[] rRespArray = new ZbapiRResp[1];
    rRespArray[0] = rRespBean;
    ZbapiRTplnr[] rTplnrArray = new ZbapiRTplnr[1];
    rTplnrArray[0] = rTplnrBean;          
    ZbapiRWapinr[] rWapinrArray = new ZbapiRWapinr[1];
    rWapinrArray[0] = rWapinrBean;          
    ZbapiRWapius[] rWapiusArray = new ZbapiRWapius[1];
    rWapiusArray[0] = rWapiusBean;
    wcalistBean.setRBdate(rBdateArray);
    wcalistBean.setRResp(rRespArray);
    wcalistBean.setRTplnr(rTplnrArray);
    wcalistBean.setRWapinr(rWapinrArray);
    wcalistBean.setRWapius(rWapiusArray);
    wcalistBean.setWaImport(wcaImportBean);
    wdContext.nodeRequest_ZBAPIWCALIST_zbapiWcalist().bind(model);
    The exception is:
    LocalizedMessage: Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [Low] of class [com.pjs.wcalist.model.wsmodel.proxies.types.p1.ZbapiRWapius] must exist and can not be null. This is required by schema description.
    In the test of the web service the Low of the ZbapiRWapius is not needed.
    And after setting the value, the exception told me that I must set the tWca, ie the subnode of the result.
    The problem is: I do not know why the setter method of the original bean of the "parameters" only accept the parameter of array type .
    I think the parameter I set may be wrong.
    When I deal with another web service model(the level of the structure is not deep), it is ok.
    Could someone give me some suggestion or explanation?
    Thanks a lot.
    Referring to the link:
    Re: HELP for WebDynpro web service model with complex structure

    Hi,
    I ahbe set the proxy in webcontainer in configtool,Is there any other thing i need to do?But please tell me what does the error means,<b>GenericServiceFactory error</b>?
    waiting for your reply,
    Regards,
    Ameya

  • Web service client JAR problem

    I have a .NET Web Service and I made a client JAR with the WebLogic Workshop. When I try to have data from the Web Service the WebLogic console shows me this error
    web service invoke failed: javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}; nested exception is:
         javax.xml.soap.SOAPException: failed to serialize interface javax.xml.soap.SOAPElementweblogic.xml.schema.binding.SerializationException: mapping lookup failure. class=interface javax.xml.soap.SOAPElement class context=TypedClassContext{schemaType=['http://tempuri.org/JobPosting/FacadeJobPosting']:getCountries}
    If want to know in which layer is the problem or what is the problem.
    Thanks

    I'm only just scrapping on the surface of SOAP myself, but I have a little Java knowledge.
    I think your error message is saying, that your trying to send a java object over SOAP to the other computer, but this object has not implemented the serialize interface (where objects are written and extracted to a stream)
    Just a thought I could be wrong - but have a look at what object is being sent over SOAP - is it a custom object? does it need to implement serialize?
    Good luck
    martin

  • Envy 100 410A Web Services and Ipod problems

    Hi,
    I purchased the Envy 410A and I'm having a few problems.  I have two Macbooks and a 4th gen Ipod Touch setup on a wireless network with a Linksys WRT100 router.  First, what's working:
    I successfully installed the printer on both computers through USB and I can print wirelessly from each without any difficulties.  (I set a fixed IP address for the printer to avoid having to 'find' it each time it got a new address by DHCP.)
    Here are my problems:
    1) On setup, the printer successfully connected to the HP web service and printed out a code for ePrinting.  I entered this code and was able to print via email.  However, sometime between last night and today (and after I installed 6 updates) the printer reported that it no longer had an email address.  I turned off Web Services to troubleshoot, but now when I try to enable it I get the "Problem Connecting to the Web Services Server" error.  Powercycling the router and/or printer does not fix this.  Nor does turning off the printer's wireless functions for 5 minutes.  I've tried restoring factory defaults, but it did not actually restore anything.  How can I fix this?  Is the server down, or is something screwed up?
    2) My iPod Touch is completely updated to iOS 4.2, bluetooth is turned off, and I've verified that it's on the same network as the printer, but I cannot detect the printer on my iPod either through Apple's AirPrint or through the HP iPhoto App 3.0.  Both just say "No printers found".  This is really frustrating since I bought this with printing from mobile devices in mind.  Any advice?
    Thanks for your help,
    Dave

    I am glad your first problem is resolved. When it comes to iPod having OS 4.2, the device supports AirPrint which is new from Apple.
    For more information on how to use the AirPrint on your iPod refer to below link:
    http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=us&docname=c02623193
    If the iPod still does not find the printer, try unchecking the option "Enable Multicast Streams" in the router EWS page and see if it works or not. Contact your router support for more info.
    Say "Thanks" by clicking the Kudos Star in the post that helped you.
    Please mark the post that solves your problem as "Accepted Solution"

  • BAPI Web Service Context Mapping Problem

    Hello all,
                 I am developing a process consisting of an automated activity.
    This automated activity uses a logical destination for a web service call to an ECC BAPI.
    The BAPI name is 'BAPI_INQUIRY_CREATEFROMDATA2'
    Now the problem is the Output mapping in the automated activity which calls the web service for the above BAPI has the response name as 'BAPI_INQUIRY_CREATEFROMDATA2.Response'
    So when i try to map the nodes it gives me an error, 'Error at Line 2, Column 29, Found '.' after BAPI_INQUIRY_CREATEFROMDATA2'.
    Since there is no mapping i do not get the process working
    If i remove the '.' from the wsdl file source, mapping is done. But the backend service call gives an error.
    How can i solve this problem?
    Any inputs will be very helpful.

    Hello Martin,
                     thnks a ton for your replies.
    The '.' is a standard thing.
    Its the part of the WSDL file which is a standard WSDL file for a service offered for a standard SAP BAPI. So i haven't changed anything.
    Its what is standardly available. So i cant anything on that.
    And the response element is not below the bapi node.
    The name of the root node of the BAPI return context is
    "BAPI_INQUIRY_CREATEFROMDATA2.Response"
    This is what is causing the problem.
    Please note here that '.' is not responsible for any hierarchy. Its the name of one single root node element.

  • Web service request formatting problem

    I'm trying to create a few interfaces to work with some web services that we have published within our organization. Creating the web service reference seems to go fine. We had to work through the details of getting that working over SSL and we seem to have gotten past that hurdle.
    Problem is that when I either test the web service reference through the testing page of the Apex app builder or attempt to call the web service from a page built on the web service reference I'm getting an error indicating that the XML of the SOAP request isn't properly formatted. Specifically, it seems that Apex is inserting an extra double-quote at the end of each element tag for all the input parameters.
    So I have this:
    <SOAP-ENV:Header><ns1:parameters xmlns:ns1="urn:GetIncidentTest"><ns1:userName">
    Notice the double-quote at the end of the userName element tag.
    The error message says:
    Element type "ns1:userName" must be followed by either attribute specifications, ">" or "/>".
    So it's seeing the double-quote where it's not expected/supposed to be and returning an error.
    It would seem to me that Apex must be putting that extra double-quote in there at request time, since the web service definition (the WSDL) seems to return all the proper parameters all neatly layed out in the testing page and any other pages I build off the service definition.
    Anyone got any ideas on this?
    Earl

    Jeff,
    That text() thing came from the Oracle magazine example. I've been looking in the documentation for an explanation of what it's for but haven't had any luck finding anything yet.
    Here's a sample response
    <?xml version="1.0" encoding="utf-8"?>
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <soapenv:Body>
    <ns1:HelpDesk_QueryList_ServiceResponse xmlns="urn:Port"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:ns1="urn:Port">
    <ns1:getListValues>
              <ns1:Assigned_Group>Voice Services</ns1:Assigned_Group>
              <ns1:Assigned_Group_Shift_Name/>
              <ns1:Assigned_Support_Company>University of Utah</ns1:Assigned_Support_Company>
              <ns1:Assigned_Support_Organization>Office of Information Technology</ns1:Assigned_Support_Organization>
              <ns1:Assignee>JULIA JONES</ns1:Assignee>
              <ns1:Categorization_Tier_1/>
              <ns1:Categorization_Tier_2/>
              <ns1:Categorization_Tier_3/>
              <ns1:City>Salt Lake City</ns1:City>
              <ns1:Closure_Manufacturer/>
              <ns1:Closure_Product_Category_Tier1>Voice / Telephone Services</ns1:Closure_Product_Category_Tier1>
    <ns1:Closure_Product_Category_Tier2>Phone</ns1:Closure_Product_Category_Tier2>
    <ns1:Closure_Product_Category_Tier3>Coral</ns1:Closure_Product_Category_Tier3>
              <ns1:Closure_Product_Model_Version/>
              <ns1:Closure_Product_Name/>
              <ns1:Company>University of Utah</ns1:Company>
              <ns1:Contact_Company>University of Utah</ns1:Contact_Company>
              <ns1:Contact_Sensitivity>Standard</ns1:Contact_Sensitivity>
              <ns1:Country>United States</ns1:Country>
              <ns1:Department/>
              <ns1:Summary>Calling to outside numbers rings busy or just drops call</ns1:Summary>
              <ns1:Notes>Found trouble and corrected.  I will follow up with Cindy later today</ns1:Notes>
              <ns1:First_Name>CINDY</ns1:First_Name>
              <ns1:Impact>4-Minor/Localized</ns1:Impact>
              <ns1:Incident_Number>INC000000000230</ns1:Incident_Number>
              <ns1:Internet_E-mail>[email protected]</ns1:Internet_E-mail>
              <ns1:Last_Name>SOMEBODY</ns1:Last_Name>
              <ns1:Manufacturer/>
              <ns1:Middle_Initial/>
              <ns1:Organization/>
              <ns1:Phone_Number>888/555-6648</ns1:Phone_Number>
              <ns1:Priority>Low</ns1:Priority>
              <ns1:Priority_Weight>1</ns1:Priority_Weight>
              <ns1:Product_Categorization_Tier_1>Voice / Telephone Services</ns1:Product_Categorization_Tier_1>
         <ns1:Product_Categorization_Tier_2>Phone</ns1:Product_Categorization_Tier_2>
         <ns1:Product_Categorization_Tier_3>Coral</ns1:Product_Categorization_Tier_3>
              <ns1:Product_Model_Version/>
              <ns1:Product_Name/>
              <ns1:Region/>
              <ns1:Reported_Source>Other</ns1:Reported_Source>
              <ns1:Resolution>Misconfigured Trunk was corrected
    No futher reports of trouble</ns1:Resolution>
              <ns1:Resolution_Category/>
              <ns1:Resolution_Category_Tier_2/>
              <ns1:Resolution_Category_Tier_3/>
              <ns1:Service_Type>User Service Restoration</ns1:Service_Type>
              <ns1:Site>0523 Moran Phase II</ns1:Site>
              <ns1:Site_Group/>
              <ns1:Status>Closed</ns1:Status>
              <ns1:Status_Reason>No Further Action Required</ns1:Status_Reason>
              <ns1:Urgency>4-Low</ns1:Urgency>
              <ns1:VIP>No</ns1:VIP>
         </ns1:getListValues>
    </ns1:HelpDesk_QueryList_ServiceResponse>
    </soapenv:Body>
    </soapenv:Envelope>When I use the wrong node syntax I get an error saying that the node is invalid. However, when I set the xpath value to /HelpDesk_QueryList_ServiceResponse, with or without the /text() suffix I get the error I mentioned in my last post.
    Is that any more help? Sorry I'm such a noob with the XML stuff. I was hoping to avoid this level of detail by using the WSDL, but we already know that story. Thanks.
    Earl

  • Web Service Array Serialization/DeSerialization in EP 6.0 SP4 !!

    Environment :
    Portal    : 6.0.4.0.0.Enterprise_Portal_Support_Package_4
    JDK       : 1.3.1
    NW Studio : 2.0.4
    I have published a portal service as a web service through the NW studio and created a standalone client. I have written a test client which uses the client jar file generated from NW studio stanalone proxy wizard. I also did a HTTP trace and looked at the request being sent to the portal. I am getting the following exception on the server side ...
    javax.xml.soap.SOAPException: Unable to serialize SOAPPart from source
         at com.sap.engine.services.webservices.jaxm.soap.SOAPPartImpl.setContent(SOAPPartImpl.java:186)
         at com.sap.engine.services.webservices.jaxm.soap.SOAPMessageImpl.<init>(SOAPMessageImpl.java:80)
         at com.sap.engine.services.webservices.jaxm.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:36)
         at com.sapportals.portal.prt.service.soap.SOAPConnection.processSOAPPost(SOAPConnection.java:237)
         at com.sapportals.portal.prt.service.soap.SOAPConnection.handleRequest(SOAPConnection.java:185)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:532)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:153)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:377)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:257)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:322)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:300)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:699)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:224)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:147)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         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:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:140)
    Caused by: com.sap.engine.lib.xml.parser.NestedSAXParserException: com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:3321)(:main:, row=1, col=3321) -> com.sap.engine.lib.xml.parser.ParserException: The empty string is not acceptable for a value of an xmlns:* attribute.(:main:, row:1, col:3321)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:136)
         at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:150)
         at com.sap.engine.services.webservices.jaxm.soap.SOAPPartImpl.parseDocument(SOAPPartImpl.java:49)
         at com.sap.engine.services.webservices.jaxm.soap.SOAPPartImpl.setContent(SOAPPartImpl.java:174)
    For some reason, the client is sending blank as the xml name space for array attributes in the objects when serializing. Also, I have used the wsdl as it is and have not modified it.
    The client is sending the following for array attributes in the soap request [:main:, row:1, col:3321 ] ...
    xmlns:tns='' xmlns:ns2='http://schemas.xmlsoap.org/soap/encoding/'
    Are there any issues if complex object includes array of complex objects ??
    I appreciate your help !!

    Hi
    Elvez,
        Thanks for answering.I have created the web service client jar file through the NW studio standalone proxy wizrd which creates a jar file so that external java application can invoke the web service outside of the portal. The web service is called dynamically by the following code ...
    TestService service = new TestServiceImpl();
    TestBindingStub port = (TestBindingStub)service.getTestService();
    Pip3A2PriceAndAvailabilityRequest   request  = new Pip3A2PriceAndAvailabilityRequest();
    populateRequest( request );
    Pip3A2PriceAndAvailabilityResponse  response = port.getInventory( request );
    If I have issued Netweaver Studio to both publish the service as well as to consume the web service, I think then the issue is on the client side wizard which creates the proxy classes for the web service client in the jar file. The wsdl specifies the xml namespace for the Arrays but the generated client code probably is not setting the name space correctly.
    Thanks
    Bhabesh Patel

  • ADFMobile - Web service data control problem for android

    Hi,
    I created an application for android and testing it on an emulator.
    I am able to create web service data control for a jax-ws web service. But when I invoke the web service and the call comes to the web service host, there are no namespaces in some of the parameters. Typically, the tags which do not have the namespace are complexTypes. All the values of the parameters come properly. I have tried executing the data control in three different manners but still no luck.
    AdfmfJavaUtilities.invokeDataControlMethod(..);
    AmxMethodActionBinding.execute();
    +#{bindings.invokeMethod.execute}+
    Thanks.

    Hi there,
    Can you try to generate a sample JAX-WS the generates a similar complex structure that can help you and us to isolate the issue? I created a jax-ws service using simple complex type on Ubuntu and also a client mobile application getting no problems running it. But, perhaps you are using a more complex structure, hence an standalone would be very useful.
    Juan C.
    Edited by: Juan Camilo Ruiz on Dec 10, 2012 4:00 PM

  • Web service client authentication problem

    I applied security role to deployed web services. When I use clientgen to generate client stub or using java client to get WSDL, I got authentication error asking for username and password.
    This only happens when I use import in my WSDL file to import other schema files. I think the authentication process happened when retrieving wsdl file, but not import schema files.
    Is this some kind of BEA bugs or known issue?
    Any advice is appreciated.

    Yes, this is a problem. It should be fixed in upcoming release. The work around is embeding the schema to WSDL or run clientgen against a local copy.

  • Web service url redirecting problem

    I am working on a form developed by LC Designer that will call a web service from our web server.
    In the WSDL, the soap address location points to www.domain.com/webservice1,
    however our web server will perform load balance by directing all www.domain.com to a new url
    either www1.domain.com or www2.domain.com.
    The result is that nothing is returned after executing the webservice call, I can't catch any error
    after xfa.connectionSet.WebServiceDC.execute(false); just nothing returns after the call.
    I suppose it is the problem that the url has been redirected to a different one.
    However if the soap address location points directly to either www1 or www2, the call returns result alright.
    Is there way or script that I can handle by redirecting a web service to a different URL like that in Adobe Flex?
    That is what I found from the web for Adobe Flex :
    public function onLoginResult(event:ResultEvent):void {
    //Extract the new service endpoint from the login result. 
    var newServiceURL = event.result.serverUrl;
    // Redirect all service operations to the URL received in the login result. 
        serviceName.endpointURI=newServiceURL;
    Best Rgds.

    A helpful poster on the House of Fusion forums pointed me to
    a work-around:
    Apparently ColdFusion just uses the WSDL to create the sub
    objects for the web service call, so as long as there is a service
    port address secified in the WSDL it doesn't matter where the
    actual WSDL file sits. So I just downloaded the WSDL using CFHTTP
    (had to use this article to configure CFHTTP for HTTP Compression:
    http://www.talkingtree.com/blog/index.cfm/2004/7/28/20040729)
    and then I pointed my CF Administrator to the WSDL on my local
    machine. And Presto - I can connect to the web service no problem
    now.
    Only problem is that I have to download the WSDL every time
    there is a change to the webservice, but I can schedule a task that
    downloads the file once a week or so.

  • Web Service - SSL handshake problem

    I'm trying to stabilish a SSL connection to Web Service using the Jakarta AXIS WebService (client) API in WAS environment.
    And sometimes i got the follow stacktrace:
    ; nested exception is:
         javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted certificate found
    Does someone have any tip to help me solve this problem?
    Thank you.

    Hi,
    you will have to import the server SSL certificate from the webservice into you client. To do this, you will have to import it into the keystore of your client.
    br,
    Tobias

  • Web service date format problem

    Hi, I am using a web service from another R/3 server. Its date format is like this..
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
    when I created a Proxy class, the date field  length is 8.
    I write my code and tryed execution. Its not giving any result and no exceptions also.
    I think the problem is with Date field..
    Suggest me how to solve this problem.
    Regards,
    Dhanunjaya Reddy

    Hi Dhanunjaya,
    If you are calling web service from your code, then it is executing like this->
    Your Code--> Proxy---> Already existing web service
    You are making  a call to proxy, not to web service directly.
    And in proxy it is defined as type D( with length 8) which is equivalent to YYYYMMDD.
    So try passing the value  YYYYMMDD(eg 20070505) from your code.
    Regards,
    Piyush
    YYYYMMDD

  • Web Service - XI - RFC problem

    Hello,
    I have a scenario in which a web service uses an RFC in our ecc system.
    I have created the necessary objects in IR and ID and generated the wsdl using "Define Web Service" in ID.
    My problem is with consuming the RFC: I want to use the lookup api, but I don't know what name I should use for that.
    How can I tell the name of the service that is exposed through the XI so that I can consume it?
    Thanks in advance,
    Tal.

    hi,
    >>>>I have the WSDL - but how do I use it to call the XI?
    I don't even know what language or application you use to consume this WSDL
    every language or application that allows that has how to guide
    which shows step by step how to consume WSDL (so call XI)
    >>>>Do I have to use a DeployableProxy and deploy it to the XI?
    you can have your application anywhere you want
    why do you want to deploy it on XI ???
    Regards,
    michal

Maybe you are looking for