Osb proxy service calling other proxy services
hi
I'm new to the oracle service bus and i need some help
i created 3 proxy services and i need to create one proxy service that call the other proxy services and return the output of these proxy services in one response message
please help me in that problem. it'll be helpful to show me example
thanks in advanced
bear in mind that all exchanges amongst services are done by writing /reading the $body variable.
The easiest way to produce a valid $body is to start from the preexisting $body and use the action
replace <yourPayloadHere/> in variable $body
using the option "replace node content"
If you want to store a response from a service for later reuse:
assign $body/* to myvariable
Similar Messages
-
Call proxy service from other proxy service with attachment
Hi!
I have got an email sending proxy service I would like to call this from an other proxy service and I want to send attachment in email. I can send email with attachment if i call this proxy as a webservice (e.g. from soapUI)
But if i want to call this email proxy service from other proxy service, the attachment in email is empty. I put a log action (expression: $attachments) in the beginning of email proxy service, and I saw this in the log file:
+<con:attachments xmlns:con="http://www.bea.com/wli/sb/context"/>+
So the attachment is really empty...
I use service callout. I put an insert action in request action of service callout:
In Variable:
attachments
XPath:
+.+
Location:
as first child of
Expression:
+<con:attachment xmlns:con="http://www.bea.com/wli/sb/context">+
+ <con:Content-Type>application/octet-stream</con:Content-Type>+
+ <con:Content-Disposition>attachment; filename="{$v_fileName}"</con:Content-Disposition>+
+ <con:Content-Transfer-Encoding>base64</con:Content-Transfer-Encoding> +
+ <con:body>{$attachments/ctx:attachment/ctx:body/*}</con:body>+
+</con:attachment>+
Why cannot I call this email proxy service from other proxy service for sending email with attachment?
I tried to solve this other. I called an email sending business service from this proxy service. But in this case I cannot set the body of email. If I put just one Transport Header action in publish action, I could send the email (with empty body). But If I put a replace action in publish action as well then the OSB didn't send the email and I couldn't find any error message in log file... How could I set the body of email in publish action?
Thanks!
ViktorYou should be able to get the current user id from the SPListItemEventProperties object. From here you should be able to create a Claim. For example get the user by using
user = SPWeb.Users.GetByID(properties.CurrentUserId)
SPClaim claim = SPClaimProviderManager.CreateUserClaim(user.email, SPOriginalIssuerType.TrustedProvider, issuerIdentifier);
https://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovidermanager.createuserclaim(v=office.14).aspx
Blog | SharePoint Field Notes Dev Tools |
SPFastDeploy | SPRemoteAPIExplorer -
Can a business service call a proxy service in OSB
In Oracle service bus, can a business service call a proxy service and if yes , what is the scenario?
Thanks in advance
PriyaYes a business service can call a proxy service......for example set your PS as http proxy service and set the endpoint url of PS in the business service..... Lets say when you have three service callouts to be done...the third service callout needs to retried in case of any failures, then you may move the third service callout to a new proxy service and use the buisness service for calling it,,, use the BS retry settings for retyring..
-
How to call other Entity service
Hi,
How to call other Entity service to our entity service?
Regards
AshifHi,
I mean, need to call the other project entity service to my project application service, for example, am having the project with the name "aaa", and i wanna to get the entity services of the other project "xxx" to my project "aaa".
Can you please, let me know how to call the same.
provide me some links for the same.
Thanks -
Error while calling ejb service call from BPM service
Hi,
We are using the Oracle 11.1.1.5.0
We are calling ejb service call from BPM service to update the data to Oracle database.
We are getting the below error when we executing the ejb service call from BPM Service.
<Error> <EJB> <BEA-010026> <Exception occurred du
ring commit of transaction Name=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliver
yBean.handleCallback(java.lang.String,java.lang.String,java.lang.String,int,bool
ean)],Xid=BEA1-45B91984D57960994897(30845116),Status=Rolled back. [Reason=javax.
transaction.xa.XAException: JDBC driver does not support XA, hence cannot be a p
articipant in two-phase commit. To force this participation, set the GlobalTrans
actionsProtocol attribute to LoggingLastResource (recommended) or EmulateTwoPhas
eCommit for the Data Source = EBSConnection],numRepliesOwedMe=0,numRepliesOwedOt
hers=0,seconds since begin=1,seconds left=60,XAServerResourceInfo[SOADataSource_
base_domain]=(ServerResourceInfo[SOADataSource_base_domain]=(state=rolledback,as
signed=soa_server1),xar=SOADataSource,re-Registered = false),XAServerResourceInf
o[ArCnTaskForms@EBSConnection@EBSConnection_base_domain]=(ServerResourceInfo[ArC
nTaskForms@EBSConnection@EBSConnection_base_domain]=(state=rolledback,assigned=s
oa_server1),xar=weblogic.jdbc.wrapper.JTSEmulateXAResourceImpl@fa5476,re-Registe
red = false),SCInfo[base_domain+soa_server1]=(state=rolledback),properties=({web
logic.jdbc.remote.EBSConnection=t3://192.168.10.114:8001, weblogic.transaction.n
ame=[EJB oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean.handleCallback(java.la
ng.String,java.lang.String,java.lang.String,int,boolean)]}),local properties=({w
eblogic.jdbc.jta.SOADataSource=[ No XAConnection is attached to this TxInfo ]}),
OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=soa
server1+192.168.10.114:8001+basedomain+t3+, XAResources={eis/tibjms/Queue, eis
/activemq/Queue, WLStore_base_domain_BPMJMSFileStore, WLStore_base_domain__WLS_s
oa_server1, eis/fioranomq/Topic, eis/jbossmq/Queue, eis/Apps/Apps, eis/websphere
mq/Queue, eis/AQ/aqSample, WLStore_base_domain_SOAJMSFileStore, eis/aqjms/Queue,
WSATGatewayRM_soa_server1_base_domain, eis/sunmq/Queue, eis/pramati/Queue, SSCo
nnectionDS_base_domain, eis/tibjms/Topic, eis/tibjmsDirect/Queue, eis/wls/Queue,
eis/tibjmsDirect/Topic, EDNDataSource_base_domain, eis/wls/Topic, eis/aqjms/Top
ic, RL3TST_base_domain, ArCnTaskForms@EBSConnection@EBSConnection_base_domain, S
OADataSource_base_domain, WLStore_base_domain_UMSJMSFileStore_auto_2},NonXAResou
rces={})],CoordinatorURL=soa_server1+192.168.10.114:8001+base_domain+t3+): weblo
gic.transaction.RollbackException: Could not prepare resource 'ArCnTaskForms@EBS
Connection@EBSConnection_base_domain
JDBC driver does not support XA, hence cannot be a participant in two-phase comm
it. To force this participation, set the GlobalTransactionsProtocol attribute to
LoggingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source
= EBSConnection
at weblogic.transaction.internal.TransactionImpl.throwRollbackException(
TransactionImpl.java:1881)
at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(Se
rverTransactionImpl.java:345)
at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTran
sactionImpl.java:239)
at weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocal
Object.java:622)
at weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetr
y(BaseLocalObject.java:455)
at weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(Sess
ionLocalMethodInvoker.java:52)
at oracle.bpm.bpmn.engine.ejb.impl.BPMNDeliveryBean_of8dk6_ICubeDelivery
LocalBeanImpl.handleCallback(Unknown Source)
at com.collaxa.cube.engine.dispatch.message.instance.CallbackDeliveryMes
sageHandler.handle(CallbackDeliveryMessageHandler.java:47)
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:140)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: javax.transaction.xa.XAException: JDBC driver does not support XA, he
nce cannot be a participant in two-phase commit. To force this participation, se
t the GlobalTransactionsProtocol attribute to LoggingLastResource (recommended)
or EmulateTwoPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
.>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <failed to handle message
javax.transaction.xa.XAException: JDBC driver does not support XA, hence cannot
be a participant in two-phase commit. To force this participation, set the Globa
lTransactionsProtocol attribute to LoggingLastResource (recommended) or EmulateT
woPhaseCommit for the Data Source = EBSConnection
at weblogic.jdbc.wrapper.JTSXAResourceImpl.prepare(JTSXAResourceImpl.jav
a:83)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:1327)
at weblogic.transaction.internal.XAServerResourceInfo.prepare(XAServerRe
sourceInfo.java:513)
at weblogic.transaction.internal.ServerSCInfo$1.run(ServerSCInfo.java:36
8)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
gWorkManagerImpl.java:528)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
<12 Oct, 2012 12:34:40 PM IST> <Error> <oracle.soa.bpel.engine.dispatch> <BEA-00
0000> <Failed to handle dispatch message ... exception ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
ORABPEL-05002
Message handle error.
error while attempting to process the message "com.collaxa.cube.engine.dispatch.
message.instance.CallbackDeliveryMessage"; the reported exception is: Error comm
itting transaction:; nested exception is: javax.transaction.xa.XAException: JDBC
driver does not support XA, hence cannot be a participant in two-phase commit.
To force this participation, set the GlobalTransactionsProtocol attribute to Log
gingLastResource (recommended) or EmulateTwoPhaseCommit for the Data Source = EB
SConnection
This error contained an exception thrown by the message handler.
Check the exception trace in the log (with logging level set to debug mode).
at com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(Dispatc
hHelper.java:207)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatc
hTask.java:88)
at com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTas
k.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:908)
at java.lang.Thread.run(Thread.java:662)
>
Could any body help on this issue.It is little bit urgent for us to resolve.
Thanks in advance.Thanks Sudipto Desmukh,
The link is helpful me to resolve this issue.
Thanks,
Narasimha E -
Customer service calling other numbers
If i'm late for more than a day on my bill, customer service calls and texts my other lines but does not call or text my primary number. How can I get them to stop bothering the add'l lines and only contact me?
KinhavoK wrote:
If i'm late for more than a day on my bill, customer service calls and texts my other lines but does not call or text my primary number. How can I get them to stop bothering the add'l lines and only contact me?
It seems that the most obvious answer is to pay the bill on time. -
Making 'local' service calls from within services
WARNING! I realise that this will seem a strange set of conditions, but if people
could bear
with it that would be great.
We are integrating a number of existing 'legacy' systems. A number of these systems
are
Tuxedo based, with existing services available. We are required to 'orchestrate'
a number of
calls to these services. Therefore we are to write a 'Top Level' service which
will co-ordinate the
calls to the existing services. Ideally we would like to reduce the number of
server-to-server calls made by this new service and make direct/inline calls to
the existing services. We could make changes to the existing services and get
them to expose a 'local' interface (i.e. a sidedoor into the application). But
. . . we could do a direct call to the 'tpservice' API for each service. However,
we do perceive one problem here, in that the service we call will eventually call
tpreturn, and this will 'shoot' straight past out 'Top Level' service, not allowing
us to see and handle the response buffer.
The question arising form the strange setup is - Can the jump performed by tpreturn
be 'interrupted? Can we catch the tpreturn before it gets back to the Tuxedo runtime?
Can we use TRY/CATCH somehow to CATCH all tpreturn within the block?(I have had
a quick look at this, but was a tad confued by it)?
Or does anyone have any thoughts on what we are doing - with the obvious ideal
of minimal if not NO impact on existing services?
By the way the existing services are 'C' based, generated by a third party toolset.
The 'Top Level' would be in-house 'C'.
Thanks
SimonWhat if the output buffer used by the service is the input buffer?
"Simon McDonald" <[email protected]> wrote:
Anthony
In the function which 'catches' the tpreturn, after it has done its
processing and before tpreturn-ing itself, it will free the return buffer
that it was given. It is just a normal Tux buffer and tpfree works fine
(even though the app run within the tpservice routine tpalloc-ed the
buffer)
Thanks for the interest - if you have any more thoughts, let me know.
Simon
"Anthony Fryer" <[email protected]> wrote in message
news:[email protected]...
How do you deal with memory management of tuxedo buffers? I mean thetuxedo tpreturn
will automatically free the output buffer. If you're overridding tpreturnwhat
happens to the output buffer? Just curious.
"Simon McDonald" <[email protected]> wrote:
Scott,
Thanks for the reply. Since jotting the memo I have been having a
play.
I have created a shared library (we are on UNIX boxes), with a function
called tpreturn in it. This tpreturn checks to see it there has been
a
current jump point created by us - if not, it gets (and retains) ahandle
to
the Tuxedo tpreturn (using shload/dlopen etc), and calls that. Ifa jump
point has been created by us then it longjumps to that (retainingthe
info
supplied in the call).
To force our tpreturn to be invoked in preference, we have/can either
archive the objects for our version into the main executable or linked
our
shared in such a position that the loader finds it before Tuxedoswhen
looking for the symbol.
Therefore, before we call the tpservice routine locally/inline, weset
a
jump point, and when this existing service calls tpreturn, it returns
to our
jump point (based on the above), we then do our extra processing.And
when
we call tpreturn, there is no current jump point and so it calls the
real
tpreturn.
A bit convoluted maybe!!, but at the moment it seems to hang together
not
too bad.
Thanks for any input
Simon
"Scott Orshan" <[email protected]> wrote in message
news:[email protected]...
The tpreturn is done with longjmp, so I don't think you'd be able
to
intercept it.
For now, you'll have to change the existing service code so thatit
knows whether it should 'return' or 'tpreturn'.
Scott
Simon wrote:
WARNING! I realise that this will seem a strange set of conditions,
but
if people
could bear
with it that would be great.
We are integrating a number of existing 'legacy' systems. A numberof
these systems
are
Tuxedo based, with existing services available. We are required
to
'orchestrate'
a number of
calls to these services. Therefore we are to write a 'Top Level'service
which
will co-ordinate the
calls to the existing services. Ideally we would like to reduce
the
number of
server-to-server calls made by this new service and make
direct/inline
calls to
the existing services. We could make changes to the existing servicesand get
them to expose a 'local' interface (i.e. a sidedoor into theapplication). But
. . we could do a direct call to the 'tpservice' API for each
service.
However,
we do perceive one problem here, in that the service we call willeventually call
tpreturn, and this will 'shoot' straight past out 'Top Level'
service,
not allowing
us to see and handle the response buffer.
The question arising form the strange setup is - Can the jump
performed
by tpreturn
be 'interrupted? Can we catch the tpreturn before it gets back
to
the
Tuxedo runtime?
Can we use TRY/CATCH somehow to CATCH all tpreturn within the
block?(I
have had
a quick look at this, but was a tad confued by it)?
Or does anyone have any thoughts on what we are doing - with theobvious
ideal
of minimal if not NO impact on existing services?
By the way the existing services are 'C' based, generated by a
third
party toolset.
The 'Top Level' would be in-house 'C'.
Thanks
Simon -
How to get info about web service caller inside Web Service
Hi..
I want to know that can we get info about Web Service Caller inside called web service..
Info Like IP Address, User Id, User Name
Regards,
Ajay SharmaHi,
I tested following code using JDevloper 11g
@Resource
WebServiceContext wsc;
@WebMethod
public String webMethod() {
MessageContext msgCtxt = wsCtxt.getMessageContext();
HttpServletRequest req = (HttpServletRequest)msgCtxt.get(MessageContext.SERVLET_REQUEST);
System.out.println("Client IP = " + req.getRemoteAddr());
return req.getRemoteAddr();
}It is giving me IP address but when i tested this web service from another computer there also it is giving my machine address instead of the machine IP from where the web service is called.
What is wrong in my code ?
Regards,
Ajay
Edited by: Ajay Sharma on Dec 31, 2012 1:06 PM -
Stop systemd.service by other systemd.service (nfs)
Hi there,
I'm currently tweaking my nfs setup.
What do I want
Mount my exported directories via bind to export, when the nfs-server starts. And unmount the directories on stop of the nfs-server
Approach
/etc/systemd/system/nfs.target
[Unit]
Description=Network File System Server
Wants=export-daten.mount export-daten-Downloads.mount export-portage.mount export-root.mount export-root-boot.mount
Requires=nfs-server.service
BindsTo=nfs-server.service
[Install]
WantedBy=multi-user.target
/etc/systemd/system/export-daten.mount
[Unit]
Description=/home/blubb/Daten nach /export/daten
BindsTo=nfs-server.service
StopWhenUnneeded=true
[Mount]
What=/home/blubb/Daten
Where=/export/daten
Options=bind
[Install]
WantedBy=nfs.target
ls nfs.target.wants
export-daten-Downloads.mount export-daten.mount export-portage.mount export-root-boot.mount export-root.mount
nfs-server.service is the original one shipped by Arch in /usr/lib/systemd/system.
Current behaviour
start nfs.target: mounts directories, starts nfs-server
stop nfs.target: unmounts directories, doesn't stop nfs-server
start nfs-server.service fails, because can't export /export/daten/Downloads, which doesn't exist, because the mount-units were not processed.
stop nfs-server.service: umount directories (due to the BindsTo directive) and stops the nfs.target.
Desired behaviour
The current behaviour works, but isn't very clean. Would be nice, if nfs.target stops the nfs-server.service too. I don't want nfs-server.service copy to /etc and modify as I will miss any updates of the original unit in /usr/lib.
Is it possible to stop nfs-server.service in/by nfs.target?Tanks, works so far. One problem is left.
For some reason, nfs option nohide doesn't work. So I have to export other filesystems in subtree too. My 2 units:
export-daten.mount
[Unit]
Description=/home/sm/Daten nach /export/daten
BindsTo=nfs-server.service
StopWhenUnneeded=true
[Mount]
What=/home/sm/Daten
Where=/export/daten
Options=bind
[Install]
WantedBy=nfs.target
and the filesystem, which is mounted in there:
export-daten-Downloads.mount
[Unit]
Description=/home/sm/Daten/Downloads nach /export/daten/Downloads
BindsTo=nfs-server.service
Requires=export-daten.mount
StopWhenUnneeded=true
[Mount]
What=/home/sm/Daten/Downloads
Where=/export/daten/Downloads
Options=bind
[Install]
WantedBy=nfs.target
According to the Manpage I'm not sure, if the Requires option is even recognized. Mounting works. But when I stop my nfs-server, I get this message:
journalctl
Feb 12 07:23:53 Nas systemd[1]: Stopping Network File System Server.
Feb 12 07:23:53 Nas systemd[1]: Stopped target Network File System Server.
Feb 12 07:23:53 Nas systemd[1]: Unit export-daten-Downloads.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unit export-portage.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unit export-root-boot.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unmounting /boot nach /export/root/boot...
Feb 12 07:23:53 Nas systemd[1]: Unit export-root.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unmounting /var/portage nach /export/portage...
Feb 12 07:23:53 Nas systemd[1]: Stopping NFS server and services...
Feb 12 07:23:53 Nas systemd[1]: Unmounting /home/sm/Daten/Downloads nach /export/daten/Downloads...
Feb 12 07:23:53 Nas systemd[1]: Unit export-daten.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unit export-root-home-sm-Daten-Downloads.mount entered failed state.
Feb 12 07:23:53 Nas kernel: nfsd: last server has exited, flushing export cache
Feb 12 07:23:53 Nas systemd[1]: Unmounted /boot nach /export/root/boot.
Feb 12 07:23:53 Nas systemd[1]: Unit export-root.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Unmounted /var/portage nach /export/portage.
Feb 12 07:23:53 Nas systemd[1]: Unmounted /home/sm/Daten/Downloads nach /export/daten/Downloads.
Feb 12 07:23:53 Nas systemd[1]: Unit export-daten.mount is not needed anymore. Stopping.
Feb 12 07:23:53 Nas systemd[1]: Stopped NFS server and services.
Feb 12 07:23:53 Nas systemd[1]: Stopping NFS Mount Daemon...
Feb 12 07:23:53 Nas rpc.mountd[21709]: Caught signal 15, un-registering and exiting.
Feb 12 07:23:53 Nas systemd[1]: Unmounting /home/sm/Daten nach /export/daten...
Feb 12 07:23:53 Nas systemd[1]: Unmounting / nach /export/root...
Feb 12 07:23:53 Nas systemd[1]: Stopped NFS Mount Daemon.
Feb 12 07:23:53 Nas systemd[1]: Unmounted /home/sm/Daten nach /export/daten.
Feb 12 07:23:53 Nas systemd[1]: Unmounted / nach /export/root.
Manpage:
If a mount point is beneath another mount point in the file system hierarchy, a dependency between both units is created automatically.
It seems, that works for mounting, but not for the umount.
Can I do something to unmount that stuff cleaner? -
Restart of DSEE 7 service disables other windows service
Hello,
I am using DSEE 7.0 ZIP Distribution. I have registered the DSEE 7 as an windows service.
1) Through Windows service manager when i restart the DSEE 7, restart happening correctly.
2) When i restart my custom c++ services (used in our project), This custom services should stop & start other 10 services.
Custom service is able to stop all 10 services. But it could not able to start the services. All the 10 services are moved to the "Disabled" state.
3) Through Windows service manager when i again restart the DSEE 7, all the 10 services get started automatically.
Kindly provide me a solution in order to solve this problem
Regards,
SriniHow can I get machine information(win 9x/win NT) and
the details of service pack installed on the machine
using java? I have got all the relevant machine
properties using system class(System.getProperties())
but could not get service pack details using the
same. Is there any other way to get all the
information?Question: this is all Windows-specific stuff. Why in heck do you use Java for that? It's like using pliers to remove a screw. Yes, it may work, but there are no less elegant ways. -
Web Service Call From Proxy Client in ABAP: View SOAP Request
Hello All,
We are working on a scenario where we have to connect to a web service from ABAP. We have extracted the WSDL, and generated the client proxy, and configured a Logical Port. However, at the time of actual call, we receive an error message "Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.". We suspect that this is a problem with the SOAP Header, which might be missing some tags, which are required by the Web Service. Problem is, we can not trace the Web Service SOAP Header. We can not see it in SOAMANAGER, or any other transaction as such. Does any body have an idea where to look for the complete SOAP Request, in case of a Client Proxy call?
Thanks and Regards,
SidHello Sebastian,
Thanks for replying. We are using a higher support pack level, and hence we do not use LPCONFIG; rather we use SOAMANAGER to manage the web service logical ports. Further, SMICM would display us ICM Logs, where as we need the exact SOAP request that has been generated. We tried ST11 with no luck.
Finally, I feel this is a wrong forum to ask such an application related question. I will close this thread and open a new thread in either PI or ABAP Forum.
Thanks and Regards,
Sid -
OSB Business Service calling an HTTPS service
Hi
I am using 11.1.1.5 SOA Suite and have a Business Service mapped to an https service.
When I test it I get
"The invocation resulted in an error: [Security:090477]Certificate chain received from servername was not trusted causing SSL handshake failure"
My target https service (during dev) is a soapui mock service set up to provide an https interface for which I have create a certificate using Java's keytool.
I don't want to have top buy a verisign (or similar) certificate for dev purposes, so my question is how do I get Weblogic to trust my self generated certificate?
Any help would be much appreciated.
Cheers
MattI managed to sort it out myslef.
Create a certificate in a keystore using keytool.
Export the certificate from the keystore
keytool -export -alias mydomain -file mydomain.crt -keystore keystore.jks
Import the certificate to the weblogic keystore
keytool -import -trustcacerts -alias mydomain -file mydomain.crt -keystore cacerts
It will ask you if trust this certificate, respond yes, restart SSL through the admin console - weblogic will now trust this certificate.
Cheers
Matt -
Application Services uses other application Services like business Object
Hallo
I use the SAP NetWeaver 7.1 SP3.
One question can i use in the Applcation Service another Application Service (not Business Object)?
The reasons I want to have this possibility:
If I use the external service and I will be exposed as a new Applicaiton Service, thus it can be used by several application Services.
I have put one Application Service A into the dependency of Application Service B... but in code i can not find out the API to lauch to the Application B.
Thanks and Kind Regards
PingThanks
But I can not find the Object ApplicationServiceALocal
and the code
ApplicationServiceALocal appServiceA = this.getApplicationServiceA();
I can not get it.
Maybe I should after the add dependency Generate Application, buîld Application?
Kind Regards
Ping -
OSB proxy service Calling OSB proxy service from BPEL
Dear team,
Wehave a requirement to call a Wsdl based OSB proxy service with sb protocol from SOA Composite from BPEL process.
We created a wsdl based OSB proxyservice with sb protocol and deployed to OSB development server.
We tried to export the wsdl and corresponding xsd files. sbconfig.jar got created.
When we extracted the sbconfig file and placed the wsdl and xsd into the SOA composite.
When we are trying to create a partnerlink, that OSB proxy service wsdl is not showing up.
Please suggest.
How to call OSB proxy service from BPEL..Hi,
Here either you need to change the protocol from 'sb' to http or use the Direct Binding in soa-composite.
please refer this links:
Can a business service call a proxy service in OSB
http://biemond.blogspot.in/2009/03/calling-osb-services-from-bpel.html
BPEL to OSB using sb transport protocol
Thanks, -
Error calling[Standalone proxy]uFF1Aexternal web service(SSL + anonymous)
hi SDNer
I use Standalone proxy to call external web service(SSL + anonymous)
web service Endpoint is : https://localhost:8443/HelloWorldService/services/HelloWorld
NWDS VERSION: NWDS-IDE-700SP12
Standalone SEI is :
HelloWorld
HelloWorldHttpBindingStub
HelloWorldImpl
HelloWorldPortType
Calling Code as following:
//1. Access the implementation class of the service interface
HelloWorldImpl ws = new HelloWorldImpl();
//2. Create the instance of a logical port
Remote remote = ws.getLogicalPort();
HelloWorldHttpBindingStub stub = (HelloWorldHttpBindingStub) remote;
//3.
SecurityProtocol securityProtocol =
(SecurityProtocol) stub._getGlobalProtocols().getProtocol(
"SecurityProtocol");
AuthenticationContext ac =
securityProtocol.getAuthenticationContext();
ac.setIgnoreSSLServerCertificate(true);
//4. invoke the business methods
String ver = stub.example(str1, str2);
Exception is :
java.rmi.RemoteException: Service call exception; nested exception is:
iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:84)
at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:94)
at TestHelloWorld.wsHelloWorld(TestHelloWorld.java:55)
at TestHelloWorld.main(TestHelloWorld.java:24)
Caused by: iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
at iaik.security.ssl.r.f(Unknown Source)
at iaik.security.ssl.x.b(Unknown Source)
at iaik.security.ssl.x.a(Unknown Source)
at iaik.security.ssl.r.d(Unknown Source)
at iaik.security.ssl.SSLTransport.startHandshake(Unknown Source)
at iaik.security.ssl.SSLTransport.getOutputStream(Unknown Source)
at iaik.security.ssl.SSLSocket.getOutputStream(Unknown Source)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:669)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
at com.sap.ws.HelloWorldHttpBindingStub.example(HelloWorldHttpBindingStub.java:77)
... 3 moreHi
Answer is pure assumption
The error "iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure" is mentioned in the the OSS note
Note 1157248 - SAP Business Connector with SSL / Common Problems
Pls take opinion from SAP / Basis before implementing the note
Regards
Madhan D
Maybe you are looking for
-
I used to be able to refresh a page by hitting the F5 key. With 4.0.1, that does not seem to work. Is there a different keyboard shortcut, or can I create one?
-
I accidentally erased music somehow from my itunes library, how can i get it back?
i accidentally erased music somehow from my itunes library, how can i get it back? I'm not sure how I did it, but I do know something has been wierd ever since. i remember using it and arranging songs, and then, bing! Songs were missing. Please h
-
SQL Server Report integrate with SharePoint slow
Dear Team, I have SQL Server report servie integrate with SharePoint mode, create several reports and deployed to SharePoint, use SharePoint sql server report viewer web part to view the report. the report contain about 8 parametes, it takes half a m
-
Hi :) Problem opening a smart object in PS CS4.
Hi I'm struggling to open a smart object in Photoshop CS4 from Lightroom 5. It gives me the option in LR, opens PS, but the image doesn't open. Just wondering if I need to alter any settings to get it to work? Thanks, Lou x
-
TS3217 Skipping songs that are downloaded
About 3/4 of the songs that I bought from iTunes are skipping. I deleted all songs and redownloaded to find that they are still skipping inside of iTunes. How do I fix this issue? I do not subscribe to the cloud and did not back them up any where els