ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl

Post new topic  Reply to topic
 com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl « View previous topic :: View next topic » 
Author Message
Shalini
PostPosted: Sat Mar 01, 2008 5:31 pm    Post subject: com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India



I have a iinvoiceResponseBO which is returned by BPEL hence written the code look like below
*************************************
ServiceManager serviceManager = new ServiceManager();

Service service = (Service) serviceManager.locateService("InvoiceSearchPartner");
operationType = service.getReference().getOperationType("invoiceSearch");

iinvoiceResponseBO = (DataObject) service.invoke(operationType,iinvoiceRequestBO);
log.info("Response from BPEL iinvoiceResponseBO (in Facde Bean)" + iinvoiceResponseBO );

1) I am getting the following information for log.info iinvoiceResponseBO

com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl@28925bb4 (eClass: com.ibm.ws.bo.impl.BusObjSpecImpl@f925b83 (eClass: com.ibm.wsspi.core.extension.model.ClassifierPackage$StaticMeta@32b11b8e (name: boDefinition) (instanceClassName: com.ibm.ws.bo.impl.BusObjSpecImpl) (abstract: false, interface: false)) (name: doclitWrapper.VentilatorResponseType) (instanceClassName: null) (abstract: false, interface: false)

2) logging iinvoiceResponseBO.getType().getName() gives me--> invoiceSearchResponse_._type

3) logging iinvoiceResponseBO.getType().getURI() gives me--> wsdl:http://InvoiceSearchLibrary/InvoiceSearch

But the request BO is a proper print with the Name as shown below
INPUT is --> BO type = InvoiceRequestBO,invoiceNumber = 123333,billBeginDate = Sat Apr 05 19:11:16 EDT 3902,billEndDate = Wed Apr 05 19:11:16 EDT 3905,nonRespondedInvoicesOnly = true,openInvoicesOnly = true,

I donot know why my BPEL is returning "invoiceSearchResponse_._type"
when I am suppose to get EntyerpriseResponseBO ???


Why do I get com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl prints for my response BO.

Back to top
View user's profile Send private message Send e-mail
Shalini
PostPosted: Mon Mar 03, 2008 6:05 am    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi,

Can some one help if they have rectified similar kind of issue
Back to top
View user's profile Send private message Send e-mail
JLRowe
PostPosted: Mon Mar 03, 2008 9:02 am    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

There is no static typing for SDO dataobjects in process server, therefore the object you get back will have some generated internal class name - BUT, the content will be what you expect.

That is why there are 2 type of interfaces: web interfaces use dynamic SDO objects, java interfaces use good old static java interfaces.

I would suggest you write yourself a nice little utility class to dump the content of a DataObject.
Back to top
View user's profile Send private message Send e-mail
Shalini
PostPosted: Mon Mar 03, 2008 1:36 pm    Post subject: Reply with quote

Master

Joined: 30 Apr 2002
Posts: 224
Location: India

Hi JLRowe,

Thanks for your reply.

1) So you mean to say always the return type from BPEL is a web interfaces not a SDO object when invoked from FacadeBean ???

2) But when I use the WID test environment and test same BPEL returns expected expected BO ie ( "EntyerpriseResponseBO" having array of InvoiceSearchResultBO) not invoiceSearchResponse_._type .

3) Why is the difference ????

4) This problem I am only facing when I call my BPEL from my Facade bean then the return type is invoiceSearchResponse_._type, does not occur when excuting same BPEL from WID test then the return type is EntyerpriseResponseBO.




Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » com.ibm.ws.sca.internal.multipart.impl.ManagedMultipartImpl
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.