Method names on "Client Request with Return" nodes
I wasn't sure whether this question would be better here, or in the "integration"
group. The traffic there is somewhat lighter than in here, so perhaps someone
is more likely to read it here :) .
I have two questions about the "method name" in a "Client Request with Return"
node in a Java Process Definition. Apparently the method name is exposed in the
WSDL. I can sort of understand what this method name is used for in the "request"
node, but I fail to understand what the method name corresponds to in the "reply/response"
node of the pair of two nodes. Why does this need to expose a method name in
the WSDL when the point of the node is just to send back a response to the original
request?
Second, in the "Guide to Building Business Processes" document, in the section
titled "Naming the Methods on Client Request with Return Nodes" (page 3-14 in
my copy), the last sentence says "The name must be a valid Java class name".
Is this true? That confuses me.
What do you think is happening here? Specifically if a socket is a connected and a new one comes in. What then?
private void listen() {
try {
clientSocket = serverSocket.accept();
} catch (IOException e) {
e.printStackTrace();
}
Similar Messages
-
Client Copy with return code error :W
Hi Gurus,
When I am copying from Prod. client 500 to Quality Client 400 in (ECC 6), I am getting
'Program ended with error or warning, return code: W"
can any body please give soultions for this
Regards
GokulHello Mr. Bhavik,
I had check in SCC3 client copy log and all error was got in test run, below gives details of log and examples of some table details log please help me what I can do?
Target Client 400
Source RFC Dest.: CLNT500TRP
System Name: TRP
Client in Source System 500
Copy Type Remote copy
Copy Type Test Run
Profile SAP_ALL
Status Completed w. Dictionary Errors
User BASIS
Start on 27.03.2010 / 11:33:21
Last Entry on 27.03.2010 / 12:20:36
Statistics for this Run
No. of Tables 52598 of 54115
Deleted Lines 5394087
Copied Lines 31175343
Warnings and Errors
Table Name Component Package
A001 SD-MD-CM DDIC Error (See SE14)
A004 SD-MD-CM DDIC Error (See SE14)
A005 SD-MD-CM DDIC Error (See SE14)
A006 SD-MD-CM DDIC Error (See SE14)
A007 SD-MD-CM DDIC Error (See SE14)
A009 SD-MD-CM DDIC Error (See SE14)
A010 SD-MD-CM DDIC Error (See SE14)
A012 SD-MD-CM DDIC Error (See SE14)
A015 SD-MD-CM DDIC Error (See SE14)
A016 SD-MD-CM DDIC Error (See SE14)
A017 SD-MD-CM DDIC Error (See SE14)
A018 SD-MD-CM DDIC Error (See SE14)
A019 SD-MD-CM DDIC Error (See SE14)
A021 SD-MD-CM DDIC Error (See SE14)
Table Information
Table: A001
- Short Description: Not Used in Standard
Package: VKON
- Short Description: Application development R/3 conditions
Application Component: SD-MD-CM
- Short Description: Conditions
Delivery Class: A
Table Type: Pooled table
Technical Information:
Nametab of Table is Correct
Table Exists in Database: KAPOL
Table Information
Table: A028
- Short Description: Info Record for Non-Stock Item
Package: VKON
- Short Description: Application development R/3 conditions
Application Component: SD-MD-CM
- Short Description: Conditions
Delivery Class: A
Table Type: Pooled table
Technical Information:
Nametab of Table is Correct
Table Exists in Database: KAPOL
Regards
Gokul Borse
9881843629
Edited by: Gokul Borse on Mar 28, 2010 7:17 AM -
Jpd client request with attachments
I'm currently attempting to wrap a custom control in a jpd file for the added benefits
of a Java process. The problem I'm encountering is due to the fact that the control
I'm using takes file content as input (I'm currently using the DataHandler type,
since this is how attachments are transferred to/from the client using jws files).
I've set the process up so that the client request has an argument of type javax.activation.DataHandler.
When working with jws files, this was sufficient allow the service to accept
a SOAP attachment. When I try to set this up through a process, however, I get
the following error: "java.lang.ClassCastException: javax.activation.DataHandler".
This error occurred when I invoked the process as a web service via the BEA-generated
client proxy jar.
Is there a different way of utilizing SOAP attachments with jpd files, or am I
simply missing another step?
Thanks.
-BrianWhat are different jar files in your classpath. You might be missing the standard
jar file that contains the javax.activation.DataHandler class. Please check and
apply a proper Jar file.
"Brian McLoughlin" <[email protected]> wrote:
>
I'm currently attempting to wrap a custom control in a jpd file for the
added benefits
of a Java process. The problem I'm encountering is due to the fact that
the control
I'm using takes file content as input (I'm currently using the DataHandler
type,
since this is how attachments are transferred to/from the client using
jws files).
I've set the process up so that the client request has an argument of
type javax.activation.DataHandler.
When working with jws files, this was sufficient allow the service to
accept
a SOAP attachment. When I try to set this up through a process, however,
I get
the following error: "java.lang.ClassCastException: javax.activation.DataHandler".
This error occurred when I invoked the process as a web service via
the BEA-generated
client proxy jar.
Is there a different way of utilizing SOAP attachments with jpd files,
or am I
simply missing another step?
Thanks.
-Brian -
Jpd client requests with attachments
I'm currently attempting to wrap a custom control in a jpd file for the added benefits
of a Java process. The problem I'm encountering is due to the fact that the control
I'm using takes file content as input (I'm currently using the DataHandler type,
since this is how attachments are transferred to/from the client using jws files).
I've set the process up so that the client request has an argument of type javax.activation.DataHandler.
When working with jws files, this was sufficient allow the service to accept
a SOAP attachment. When I try to set this up through a process, however, I get
the following error: "java.lang.ClassCastException: javax.activation.DataHandler".
This error occurred when I invoked the process as a web service via the BEA-generated
client proxy jar.
Is there a different way of utilizing SOAP attachments with jpd files, or am I
simply missing another step?
Thanks.
-BrianHi Brian,
This sounds like a known bug. Could you take this issue up with our
award winning support team [1] and reference CR129731.
Thanks,
Bruce
[1]
http://support.bea.com
[email protected]
Brian McLoughlin wrote:
>
I'm currently attempting to wrap a custom control in a jpd file for the added benefits
of a Java process. The problem I'm encountering is due to the fact that the control
I'm using takes file content as input (I'm currently using the DataHandler type,
since this is how attachments are transferred to/from the client using jws files).
I've set the process up so that the client request has an argument of type javax.activation.DataHandler.
When working with jws files, this was sufficient allow the service to accept
a SOAP attachment. When I try to set this up through a process, however, I get
the following error: "java.lang.ClassCastException: javax.activation.DataHandler".
This error occurred when I invoked the process as a web service via the BEA-generated
client proxy jar.
Is there a different way of utilizing SOAP attachments with jpd files, or am I
simply missing another step?
Thanks.
-Brian -
Repair error in transport request with return code-0008
hi!!
I am getting error while importing a transport request by giving return code-0008.
Can anyone explain me the reason and solution for the same.
Rgds,
Ajeet.Hi Ajeet,
Make sure that all the tasks whith in the request are released and they are in active state as well. Discuss with the owner of the CR and check all the objects are in active state and all the tasks are released. You can check with the logs as well to het more clues.
Regards,
Hari.
PS: Points are welcome. -
Transpot Request with return code 4 during Importing
HI All,
During importing the transport request It gave warning with 4.
IIt is with Flat File that is giving
No mapping defined for source system XMFile which ismy flat file ss.
CAn any body help me on that...
Regards,
MAdhuHi dear,
Yes, actually there is no need to worry, it i sjust a warning for your import ...
Nevertheless, if you see that your datasource is not connected, check that your falt file source system exists in your target system, and go to RSA1 -> Tools -> Conversion of Logical System Names, to convert the source system ...
Kind regards
Mickael -
Much slower request with more nodes for ReplicatedCache
Hi,
We have been using Tangosol for 3 years without any problem, our topology is quite simple, we are using a replicated cache :
<cache-mapping>
<cache-name>repl-*</cache-name>
<scheme-name>default-replicated</scheme-name>
</cache-mapping>
<replicated-scheme>
<scheme-name>default-replicated</scheme-name>
<service-name>ReplicatedCache</service-name>
<backing-map-scheme>
<class-scheme>
<scheme-ref>default-backing-map</scheme-ref>
</class-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</replicated-scheme>
<class-scheme>
<scheme-name>default-backing-map</scheme-name>
<class-name>com.tangosol.util.SafeHashMap</class-name>
<init-params></init-params>
</class-scheme>
Recently we added more servers so more members (from 5 to 10) and we are facing some Tangosol requests that are now much much slower (2s -> 3mn)
The thread dump points out the following stack trace :
# com.tangosol.util.ThreadLocalObject:findThreadStorage(ThreadLocalObject.java:320)
# com.tangosol.util.ThreadGate$ThreadLocalCounter:decrement(ThreadGate.java:750)
# com.tangosol.util.ThreadGate:exit(ThreadGate.java:398)
# locked-->com.tangosol.util.ThreadGate(0x1d5c7bd0)
# com.tangosol.net.cache.OverflowMap:endKeyProcess(OverflowMap.java:1906)
# com.tangosol.net.cache.OverflowMap:getInternal(OverflowMap.java:873)
# com.tangosol.net.cache.OverflowMap:get(OverflowMap.java:330)
# com.tangosol.coherence.component.util.CacheHandler:getLease(CacheHandler.CDB:3)
# com.tangosol.coherence.component.util.CacheHandler:getCachedResource(CacheHandler.CDB:10)
# com.tangosol.coherence.component.util.CacheHandler:convert(CacheHandler.CDB:1)
# com.tangosol.coherence.component.util.CacheHandler$EntrySet$Entry:getValue(CacheHandler.CDB:2)
I don't understand why OverflowMap is in this stack trace ?
do you have any ideas why the requests are much slower when we add members ?
Thx,
FabriceHi Fabrice,
OverflowMap is used in the internal implementation of replicated cache to store recently deleted objects.
Please send the full thread dump from one of your cache servers to support at tangosol.com.
Thanks,
Patrick Peralta
Tangosol, Inc. -
Transport Request Ended with return code: === 12 ===
Hi
Good day to you.
We are able to move Transport Request from Development BW Client (with respect to an SEM-BCS Configuration) to Quality BW Client smoothly.
But when we move the same TR to Production client, we are getting the following error message. I would be very grateful if somebody could throw light on why it is happening, what could be its implications and what to do to avoid the same
Execution of programs after import (XPRA)
Transport request : DBWK901288
System : PBW
tp path : tp
Version and release: 340.16.37 640
Post-import methods for change/transport request: DBWK901288
on the application server: sapbwpd
Post-import method FINB_TR_AFTER_IMP_METHOD started for UCREPGROUP T, date and time: 20081029144344
Post-processing taking place in client 300
Import carried out using RFC destination PBWCLNT300
Communication error: Destination PBWCLNT300 -> long text
Errors occurred during post-handling FINB_TR_AFTER_IMP_METHOD for UCREPGROUP T
FINB_TR_AFTER_IMP_METHOD belongs to package FINB_TRANSPORT_TOOL
The errors affect the following components:
FIN-FB (Financials Basis)
Post-import method FINB_TR_AFTER_IMP_METHOD completed for UCREPGROUP T, date and time: 20081029144351
Post-import methods of change/transport request DBWK901288 completed
Start of subsequent processing ... 20081029144344
End of subsequent processing... 20081029144351
Execute reports for change/transport request: DBWK901288
on the application server: sapbwpd
There are no reports to execute
Execution of programs after import (XPRA)
End date and time : 20081029144351
Ended with return code: ===> 12 <===
Regards
SiddiqueHi Siddique,
Looks like your RFC destination is wrong. The proper syntax is FINBTR@<system>CLNT <client>.
See also the note 644610. -
Restarting Client export which ended with return code 8.
Hi guys,
I have performed an client export using SCC8 and the export ended with return code 8. stating the request cannot be imported. I have fixed the errors. I would like to know how do i restart the same export instead of doing a other client export. KIndly let me know as early as possible as it is very urgent.
NareshHi ,
Thanks for the reply, One of my colligue is telling no need of transport elements under the query. why means we copied (dev) one of our query and just changed the Variable to curent fiscalyear/period. now we to transport this query. My colligue is telling any way thos elements are there in old query , and telling no need to transport those. Is it correct or again we need to collect all those using elements in that query while transporting ?
we dont have access for SE03.
Thanks & Regards
Pcrao. -
Parallel nodes can't enclose in client request Nodes
Hi,
I have a parallel node in my JPD.
I want to add a clientRequest-Response node which will take a input xml and will return an response xml. But having a parallel node its not allwoing to have a single clientrequest-response node. It works only if I add 2 saperate ( 1 client request node and 1 client response node( calkback).
But when I try to call the clientrequest node from my webservice it has a return type as void. but i need it to be responsedocument?
How can we solve this problem?
<b>ERROR: MyProcess.jpd:84: 'parallel' nodes cannot be enclosed within 'clientRequest' nodes.
ERROR: 1 error(s), 0 warning(s).</b>This question has been moved to
<pre> weblogic.developer.interest.integration group
http://forums.bea.com/bea/thread.jspa?threadID=600010081&tstart=0
</pre> -
I am using xmlhttprequest to send image in cross domain. in Previous version it was working fine, but on "7.0.1" version request doesn't contain x-file-name and x-file-size data.
Request Header of version mozilla 7.0.1
[Host] => localhost
[User-Agent] => Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
[Accept] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[Accept-Language] => en-us,en;q=0.5
[Accept-Encoding] => gzip, deflate
[Accept-Charset] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
[Connection] => keep-alive
[If-Modified-Since] => Mon, 26 Jul 1997 05:00:00 GMT
[Cache-Control] => no-cache, no-cache
[X-Requested-With] => XMLHttpRequest
[Content-Type] => multipart/form-data-
[Referer] => http://localhost/ajay_upload/tpl_upload_test_default.php
[Content-Length] => 31082
[Pragma] => no-cache
Request Header of same code on Chrome:
Array
[Host] => localhost
[Connection] => keep-alive
[Referer] => http://localhost/ajay_upload/tpl_upload_test_default.php
[Content-Length] => 188742
[Cache-Control] => no-cache
[Origin] => http://localhost
[X-File-Size] => 188742
[X-Requested-With] => XMLHttpRequest
[If-Modified-Since] => Mon, 26 Jul 1997 05:00:00 GMT
[X-File-Name] => 2.jpg
[User-Agent] => Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.218 Safari/535.1
[Content-Type] => multipart/form-data-
[Accept] => */*
[Accept-Encoding] => gzip,deflate,sdch
[Accept-Language] => en-US,en;q=0.8
[Accept-Charset] => ISO-8859-1,utf-8;q=0.7,*;q=0.3
Thanks In AdvA good place to ask advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.<br />
The helpers at that forum are more knowledgeable about web development issues.<br />
You need to register at the mozillaZine forum site in order to post at that forum.<br />
See http://forums.mozillazine.org/viewforum.php?f=25 -
Issue about BI JAVA SDK-SOAP request failed with return message 2147483653
Dear Experts,
I'm trying to use BI JAVA SDK to connect BW by using XMLA connector.
But there's an error messaet said :
SOAP request failed with return message 2147483653 ( Invalid MDX command with INCLUDING)
I'm really new to this JAVA SDK, and after searching help in SAP Service Market and Google, there's no helpful suggestion.
please help me about how to fix this error.
Here is my code:
IBIConnection connection = (IBIConnection) cf.getConnectionEx(cs);
IBIOlap olap = connection.getOlap();
Cube cube = olap.getObjectFinder().
findCubeFirst((String)null, "ZFI_C11/ZFI_C11_Q001");
// This is just a sanity check to verify that the
// cube on which this example relies was retrieved
if (cube==null){
System.out.println("no cube found");
// Didn't print out this message, seems it can connect to BW and get the InfoCube and Query.
Dimension plantDimension = olap.getObjectFinder().
findDimensionFirst(cube, "ZPLANT");
Dimension materialDimension = olap.getObjectFinder().
findDimensionFirst(cube, "ZMATERIAL");
IBIQuery query = olap.createQuery(cube);
IBICommandProcessor commandProcessor = query.getCommandProcessor();
commandProcessor.moveDimensionToRows(plantDimension);
commandProcessor.moveDimensionToRows(materialDimension);
IBIDataSet dataset = query.execute(); // After execute this statement, error happens.
Thank you!
AndySolved myself, it's because the query used in my code have user input variable.
-
SOAP request failed with return message 2147483653
Hello everybody!
I've got a constant error while trying to execute following MDX-statement via BI Java SDK:
SELECT {[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 0 , {[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]} DIMENSION PROPERTIES MEMBER_UNIQUE_NAME, MEMBER_CAPTION, PARENT_UNIQUE_NAME on 1 FROM [$ZBCS_OV12]WHERE{[0BCS_REPMOD].[N],[0BCS_REPMOD].[P],[0BCS_REPMOD].[R],[0BCS_REPMOD].[S]}{[0PCOMPANY].[000001],[0PCOMPANY].[000002],[0PCOMPANY].[000102],[0PCOMPANY].[000103],[0PCOMPANY].[000104],[0PCOMPANY].[000200],[0PCOMPANY].[000003],[0PCOMPANY].[000004],[0PCOMPANY].[000100],[0PCOMPANY].[000101],[0PCOMPANY].[000105]}*
The error is:
SOAP request failed with return message 2147483653 (Log not found (in main memory))
What to do with this message? How to understand what is the cause of the error?
The same query is working fine in MDX-test tool.
WBR, Dmitriy.Solved myself, it's because the query used in my code have user input variable.
-
I want parameters with f4 help for program names in value request
I want parameters with f4 help for program names in value request
points will be awarded if usefullv_name1 TYPE name1, "Vendor Name
CALL FUNCTION 'POPUP_TO_SEARCH_VALUE'
EXPORTING
textline1 = 'Vendor Name'(f09)
titel = 'Enter'(f17)
valuelength = 35
IMPORTING
value = lv_name1.
try this out .. -
Implementing Empty Versions of Interface Methods with Return Types
Subject probably is probably a bit long but I was stumped for a brief way to summarize my question. Let's say I have the interface below:
public interface DAO {
...snip...
public Object get(int id);
public Object[] get(String clause);
...snip...
}From this I want to make two concrete classes, say ClassOne and ClassTwo. Given the type of data each one is fetching, ClassOne only needs (and should only) implement get(int id) and ClassTwo only needs (and should only) implement get(String clause). This is because the first class will always deal with only one record from table_a and the second class will always deal with one or more records from table_b. So my question is what is the correct way to provide empty implementations for the unnecessary methods?
I've thought of using an adapter to implement empty methods but a) I'm not sure that makes sense and b) I still end up have to return something. Another option was maybe having multiple interfaces, one returning a single object and the other returning an array. Neither of those options felt right and looked a bit goofy when I prototyped them out. It seems to me that I wouldn't want the classes using the concrete DAO classes to be able to call the wrong method, but I don't know how to hide the unused method. Right now I just return an empty Object or Object[] for the unused method but that seems goofy too, and makes the class using ClassOne or ClassTwo know the innards of the implementations.
Anyway, any tips appreciated.
Thanks,
PabloIt sounds as if the methods weren't meant to be together, and so I'm wondering if you aren't better off with two distinct interfaces, one for each method. Otherwise one solution would be to implement a method that throws an exception if it is not meant to be called.
edit: D'oh! Just when you least expect them, Ninjas! They're everywhere!
Edited by: Encephalopathic on Apr 30, 2009 1:41 PM
Maybe you are looking for
-
How can i move music from one account to another
I have 4 different accounts in Itunes and i wish to move all the music into one account help please !!!!
-
Installation problem with j2eesdk-1_4-dr-linux-eval on RedHat 9
After installing j2sdk-1_4_2_03-linux-i586-rpm.bin, I've tried to install j2eesdk-1_4-dr-linux-eval. # chmod a+x ./ j2eesdk-1_4-dr-linux-eval # ./ j2eesdk-1_4-dr-linux-eval -console However, j2eesdk-1_4-dr-linux-eval shows the following error message
-
Problem recreating new itunes profile on a new hardrive
I installed a new hardrive on my cpu ( old one is there and still works, just full). I had itunes on old drive and had money left in my shopping cart with earmarked songs to buy. Now, I am on the new drive, just installed a new itunes, and it looks l
-
How to reboot a ipad mini?
how to reboot an ipad mini?
-
hii everyone im new here my hp model its pavilion g6-1243se i have problem that i cant open my recovery screen Although i have parton contine recovery folder > i click on F11 to open recovery screen & it said : Windows failed to start , A recent har