RUNNING PROXY CLIENT FOR X.509 CERTIFICATE WEB SERVICE THROWS SOAPFAULTEXCE
Hi all!
I have a problem on securing my web service.
It's written: "Policy requires confidentialityenc key : 0"
I found a few information here:
https://metalink2.oracle.com/metalink/plsql/f?p=130:15:9796228426720331207::::p15_database_id,p15_docid,p15_show_header,p15_show_help,p15_black_frame,p15_font:BUG,7260434,1,1,1,helvetica
Is it a bug? Please advice.
Hi Talimeren,
when you want to use certificates you have to setup SSL which you've started already. You have to get and import a server certificate which authenticates the server while the client creates a SSL connection. The cert has to assigned to the SSL port. For NW04 you can find the guide here http://help.sap.com/saphelp_nw04/helpdata/en/f1/2de3be0382df45a398d3f9fb86a36a/frameset.htm
If you want client authentication by certificates as well you have to import at least one root certificate from a certficate authority (CA) which you trust and by which all user certificates are signed.
SAP delivers the IAIK library for WebAS security, but this depends on your WebAS version and installation. I suggest you setup SSL and try to make a connection. If the connection can be made, the security library should be there.
HTH
Daniel
Message was edited by: Correct Link
Daniel Sass
Similar Messages
-
Java client for calling a XI web service
Hello,
does anyone have created a Java client
with Apache Axis? I tried it and it works
for web service which aren't provided by
SAP XI, but if I use to call a XI web service
something went wrong.
The XI web service works. I tested it with
XML Spy.
I think there must be something special with
XI web service.
So anyone got a tutorial/guide for this???
thanks
chrisHola mi nombre es Luis,
Creyendo que eres español te escribo en tal idioma.
He visto que a ti también te devolvía un error de autentificación 401, y que lo subsanaste, pero a mi con la solución que te dieron no me vale, ya que implemento el código que te ofrecieron para arreglarlo y ahora me da un fallo de "Server Error" poniendo en usuario y password, los correspondientes a XI.
+Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay req=new Request_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay();
wdContext.nodeRequest_MI_outTurnoverDetailsDisplay_MI_outTurnoverDetailsDisplay().bind(req);
req._setUser("username");
req._setPassword("password");+
No sé si es que ese usuario y contraseña son otros distintos.
Si pudieras ayudarme, te lo agradecería.
Un saludo, Luis -
Help me in writing client for this JAX ws Web service
Hi ,
I am unable to write client for my Webservice deployed under glass fish v3 .please help.
package jws;
import javax.jws.WebService;
import javax.jws.WebMethod;
import javax.jws.WebParam;
@WebService(name="CalculatorPortType")
public interface Calculator {
@WebMethod
public int add(int value1, int value2);
} package jws;
import javax.jws.WebService;
@WebService(serviceName = "Calculator",
portName="CalculatorPort",
endpointInterface = "jws.Calculator")
public class CalculatorService implements Calculator {
public int add(int value1, int value2)
System.out.println("Inside web service class ");
return value1 + value2;
My client which is incomplete :please help
import java.net.URL;
import jws.CalculatorService;
import jws.Calculator;
import javax.xml.ws.Service;
import sun.print.resources.serviceui;
public class Hi {
@WebServiceRef(wsdlLocation=
"http://localhost:8089/Ram/Calculator?wsdl")
CalculatorService service ;
public static void main(String argsp[]) throws Exception
} This is deployed under glassfish v3.When you just use the JAX-WS standard you do not need any WebLogic related classes to create a client for your web service.
When the web service is deployed the WSDL can be accessed. By using this WSDL you can create your client by using tools
such as wsimport (which comes with a JDK distribution and is located in the JDK_HOME/bin directory)
wsimport -keep -d C:\YOUR_PROJECT\src http://hostname:port/context/SomeWebService?wsdlthe 'keep' option make sure the generated .java files are not thrown away. -
Need help writing client for WSE 1.0 Web Service
Hello all,
I am attempting to write Java clients against a .Net service that uses WSE 1.0. I can't seem to get any of toolkits I have tried to work with this service. Unfounately, I do not own the service, so I cannot upgrade it to WSE 2.0. The problem seems to be that the WSE 1.0 expects namespaces from the July 2002 version of WS-Security, while all the libraries I have tried (JWSDP, Oracle Web Service Wizard, etc) use the oasis namepsace from January 2004.
Can he one suggest an alternative? Is there a way to set the namespace sent in XWS-Security? I think this might solve the problem...
Thanks,
KSHi,
firstly JWSDP 1.5 is pretty old, the latest release of JWSDP is JWSDP 2.0 that happened late last year.
The problem is most likely happening due to a bug in JWSDP 1.5. If you dump the Message that is going over the wire you will probably see
SOAPAction : ""
SOAPAction : "<the correct action value>"
And this is the reason for the failure. I believe you are using SOAP 1.1 messages right ?
What you will need to do is upgrade to
JWSDP 2.0 and more important also upgrade your SAAJ jars in the JWSDP installation to SAAJ 1.3
https://saaj.dev.java.net/files/documents/52/32730/saaj1.3.zip
Alternatively, you can use Sun's Project Tango (Sun's Next Generation WebServices Interoperability Technology Offering) which has been tested to interoperate with Microsoft WCF.
http://java.sun.com/developer/technicalArticles/glassfish/ProjectTango/
You can download Project Tango by visiting the following page :
https://wsit.dev.java.net/
Look at the Try It section for instructions on how to use it.
Using the Netbeans Plugin you can develop a java client which can securely communicate with the .Net WebService. All you need to do for that is use Netbeans to create a Java WebService Client by pointing it to the WSDL of the .Net Service.
Let us know if this helped.
Thanks...
Message was edited by:
kumar_at_sun -
Error while running Client for accessing EJB3.0 wes service..
Hi:
I have created client for accessing EJB3.0 web service using Jax-ws.
I am using JBoss server.
But the problem is after running the client i am getting following error :
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/messaging/saaj/soap/AttachmentPartImpl
at com.sun.xml.ws.message.AttachmentUnmarshallerImpl.<clinit>(AttachmentUnmarshallerImpl.java:55)
at com.sun.xml.ws.client.sei.ResponseBuilder$DocLit.readResponse(ResponseBuilder.java:500)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:242)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:210)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:103)
at $Proxy25.celsiusToFarenheit(Unknown Source)
at MainMethod.main(MainMethod.java:21)Can any body give me solution on this?
Thank You.the problem seems to lie in a combination of JDK 6 and a specific version of SAAJ that it has integrated. Different resources on the net indicate that if you use a newer version of SAAJ, 1.3.1 or higher, it should be fixed.
-
Polycom CX 600 - Certificate web service cannot be found
Hi All,
I know, there are some same issues in the forum, bot those are not helpful for me. My problem is the same, via network cable (using just DHCP) the Polycom CX 600 Lync Phone are not able to sign in (however 1 month ago it was), returning the error message:
'Certificate web service cannot be found.'
I've double checked the DHCP options and all of them are OK! We are not using Windows DHCP, but the options are right, the 43 option containing the proper hexa value, the sub-options are also valid. From the DHCP log I can verify that the device got the
options, but the phone still not able to sign in.
From the browser I cannot open the device, by it's IP, just with FTP:\\'IP'. There I could find a .clg1 log file, but it not containing useful information for me.
This is the link of the log file: http://speedy.sh/XAgMT/system.clg1
If I run the DHCPUtil.exe -emulateclient on my workstation, I got the following:
Starting Discovery ...
Result: Failure = -2147014848
Or... sometimes it has a result:
Starting Discovery ...
Sending Packet (Size: 288, Network Adapter: 57.56.69.138, Attempt Type: Broadcas
t + Unicast)
--Begin Packet--
DHCP: INFORM (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 0.0.0.0
DHCP: Client HW Address (chaddr) = E0DB55DE###--End Packet--
Received Packet
Sender:57.20.120.85:67, Size:408
--Begin Packet--
DHCP: ACK (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 57.56.69.131
DHCP: Client HW Address (chaddr) = E0DB55DE8993
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP ACK
DHCP: Server Identifier( 54) = (Length: 4) 57.20.120.85
DHCP: Client Identifier( 61) = (Length: 0) ()
DHCP: SIP Server( 120) = (Length: 18) enc:0 lync2013.dlh.de (00086C79
6E633230313303646C6802646500)
DHCP: Host Name( 12) = (Length: 0)
DHCP: Vendor Identifier( 60) = (Length: 0)
DHCP: Param Req List( 55) = (Length: 0) 0 0
DHCP: Vendor Info( 43) = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
36463736324634333635373237343530373236463736363937333639364636453639364536373533
36353732373636393633363532453733373636335D)
DHCP: End of this option field
--End Packet--
Received Packet
Sender:57.20.120.85:67, Size:408
--Begin Packet--
DHCP: ACK (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 57.56.69.130
DHCP: Client HW Address (chaddr) = E0DB55DE8993
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP ACK
DHCP: Server Identifier( 54) = (Length: 4) 57.20.120.85
DHCP: Client Identifier( 61) = (Length: 0) ()
DHCP: SIP Server( 120) = (Length: 18) enc:0 lync2013.dlh.de (00086C79
6E633230313303646C6802646500)
DHCP: Host Name( 12) = (Length: 0)
DHCP: Vendor Identifier( 60) = (Length: 0)
DHCP: Param Req List( 55) = (Length: 0) 0 0
DHCP: Vendor Info( 43) = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
36463736324634333635373237343530373236463736363937333639364636453639364536373533
36353732373636393633363532453733373636335D)
DHCP: End of this option field
--End Packet--
Received Packet
Sender:57.20.120.100:67, Size:408
--Begin Packet--
DHCP: ACK (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 0.0.0.0
DHCP: Client HW Address (chaddr) = E0DB55DE8993
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP ACK
DHCP: Server Identifier( 54) = (Length: 4) 57.20.120.100
DHCP: Client Identifier( 61) = (Length: 0) ()
DHCP: SIP Server( 120) = (Length: 18) enc:0 lync2013.dlh.de (00086C79
6E633230313303646C6802646500)
DHCP: Host Name( 12) = (Length: 0)
DHCP: Vendor Identifier( 60) = (Length: 0)
DHCP: Param Req List( 55) = (Length: 0) 0 0
DHCP: Vendor Info( 43) = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
36463736324634333635373237343530373236463736363937333639364636453639364536373533
36353732373636393633363532453733373636335D)
DHCP: End of this option field
--End Packet--
Received Packet
Sender:57.20.120.100:67, Size:408
--Begin Packet--
DHCP: ACK (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 57.56.69.131
DHCP: Client HW Address (chaddr) = E0DB55DE8993
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP ACK
DHCP: Server Identifier( 54) = (Length: 4) 57.20.120.100
DHCP: Client Identifier( 61) = (Length: 0) ()
DHCP: SIP Server( 120) = (Length: 18) enc:0 lync2013.dlh.de (00086C79
6E633230313303646C6802646500)
DHCP: Host Name( 12) = (Length: 0)
DHCP: Vendor Identifier( 60) = (Length: 0)
DHCP: Param Req List( 55) = (Length: 0) 0 0
DHCP: Vendor Info( 43) = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
36463736324634333635373237343530373236463736363937333639364636453639364536373533
36353732373636393633363532453733373636335D)
DHCP: End of this option field
--End Packet--
Received Packet
Sender:57.20.120.100:67, Size:408
--Begin Packet--
DHCP: ACK (xid=5C1E8177)
DHCP: Op Code (op) = 1
DHCP: Hardware Type (htype) = 6
DHCP: Hops (hops) = 0
DHCP: Transaction ID (xid) = 1545503095
DHCP: Seconds (secs) = 0
DHCP: Flags (flags) = 0000
DHCP: Client IP Address (ciaddr) = 57.56.69.138
DHCP: Your IP Address (yiaddr) = 0.0.0.0
DHCP: Server IP Address (siaddr) = 0.0.0.0
DHCP: Relay IP Address (giaddr) = 57.56.69.130
DHCP: Client HW Address (chaddr) = E0DB55DE8993
DHCP: Server Host Name (sname) =
DHCP: Boot File Name (file) =
DHCP: Magic Cookie = 99.130.83.99
DHCP: Option Field
DHCP: DHCP MESSAGE TYPE( 53) = (Length: 1) DHCP ACK
DHCP: Server Identifier( 54) = (Length: 4) 57.20.120.100
DHCP: Client Identifier( 61) = (Length: 0) ()
DHCP: SIP Server( 120) = (Length: 18) enc:0 lync2013.dlh.de (00086C79
6E633230313303646C6802646500)
DHCP: Host Name( 12) = (Length: 0)
DHCP: Vendor Identifier( 60) = (Length: 0)
DHCP: Param Req List( 55) = (Length: 0) 0 0
DHCP: Vendor Info( 43) = (Length: 130) ☺♀MS-UC-Client☻♣https♥☼lync201
3.dlh☻E6465040334343305252F4365727450726F762F4365727450726F766973696F6E696E67536
572766963652E737663] (010C4D532D55432D436C69656E7402056874747073030F6C796E633230
31332E646C6802453634363530343033333433343333303532353246343336353732373435303732
36463736324634333635373237343530373236463736363937333639364636453639364536373533
36353732373636393633363532453733373636335D)
DHCP: End of this option field
--End Packet--
Result: Failure = 1
I don't know what is that Failure = 1
Has anybody an idea???
Many thanks,
TamásHi,
The DHCP options are good.
Finally, I was able to run the test-csphonebootsrap cmdlet, and I got the following error:
Result : Failure
Latency : 00:00:01.2179659
Error Message : No response received for getting root certificate chain.
Inner Exception:The remote server returned an unexpected respon
se: (417) Expectation Failed.
Inner Exception:The remote server returned an error: (417) Expe
ctation Failed.
Diagnosis :
Inner Diagnosis:Mime-Version : 1.0
X-Squid-Error : ERR_INVALID_REQ 0
Vary : Accept-Language
Content-Language : en
X-Cache : MISS from proxy.lsy.bud.dlh.de
X-Cache-Lookup : NONE from proxy.lsy.bud.dlh.de:3128
Connection : close
Content-Length : 3944
Content-Type : text/html
Date : Thu, 09 Jan 2014 13:24:47 GMT
Server : squid/3.1.10
Via : 1.0 proxy.lsy.bud.dlh.de (squid/3.1.10)
VERBOSE: Workflow
'Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow'
started.
Workflow
'Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow'
completed in '0.0001508' seconds.
Target server Fqdn or web service Url not provided. Will have to do DHCP
Registrar Discovery.
An exception 'No response received for getting root certificate chain.'
occurred during Workflow
Microsoft.Rtc.SyntheticTransactions.Workflows.STPhoneBootstrapWorkflow
execution.
Exception Call Stack: at
Microsoft.Rtc.Admin.Authentication.WebServicesHelper.GetRootCertChains()
at
Microsoft.Rtc.SyntheticTransactions.Activities.GetRootCertChainsActivity.Intern
alExecute(ActivityExecutionContext executionContext)
at
Microsoft.Rtc.SyntheticTransactions.Activities.SyntheticTransactionsActivity.Ex
ecute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity,
ActivityExecutionContext executionContext)
at
System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRunti
me workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
Server stack trace:
at
System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(
HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory,
WebException responseException, ChannelBinding channelBinding)
at
System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChanne
lRequest.WaitForReply(TimeSpan timeout)
at System.ServiceModel.Channels.RequestChannel.Request(Message message,
TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean
oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan
timeout)
at
System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessa
ge methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage
message)
Exception rethrown at [0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at RootCertChainService.GetRootCertChains(GetRootCertChainsRequest request)
at Microsoft.Rtc.Admin.Authentication.WebServicesHelper.GetRootCertChains()
'DHCPDiscover' activity started.
Starting DHCP registrar discovery...
Constructing a DHCP packet.
Adding DHCP option PARAMETER_REQUEST_LIST.
Successfully added DHCP option.
Adding DHCP option VENDOR_CLASS_IDENTIFIER.
Successfully added DHCP option.
Successfully constructed DHCP packet.
Trying to open an udp connection.
Remote IP : 255.255.255.255.
Local IP : 10.150.7.33.
\tCreating a new UDP client.
Udp connection successfully created.
Sending packet.
Remote IP : 255.255.255.255.
Remote Port : 67.
Packet sent successfully.
DHCP discovery message send. Waiting for DHCP servers to respond.
Data received successfully.
Remote IP : 57.20.120.85.
Remote Port : 67.
Response received for the DHCP Discovery message.
Constructing a DHCP packet from received raw data.
Extracting DHCP Options.
Successfully constructed DHCP packet.
Return value for DHCP option : SIP_SERVER.
Found registrar Fqdn : lyncpool.dlh.de.
Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.1.
Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.1 - MS-UC-Client.
Successfully extracted sub option value.
Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.2.
Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.2 - https.
Successfully extracted sub option value.
Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.3.
Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.3 - lyncpool.dlh.de.
Successfully extracted sub option value.
Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.4.
Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.4 - 443.
Successfully extracted sub option value.
Searching for DHCP sub option : VENDOR_SPECIFIC_INFORMATION.5.
Return value for DHCP option : VENDOR_SPECIFIC_INFORMATION.
Found DHCP sub option : VENDOR_SPECIFIC_INFORMATION.5 -
/CertProv/CertProvisioningService.svc.
Successfully extracted sub option value.
Found web service Url :
https://lyncpool.dlh.de:443/CertProv/CertProvisioningService.svc.
Disconnecting.
DHCP registrar discovery activity completed successfully.
'DHCPDiscover' activity completed in '1.2179659' seconds.
'GetRootCertChains' activity started.
Trying to download a certificate chain from web service.
Web Service Url : http://lyncpool.dlh.de/CertProv/CertProvisioningService.svc
Could not download certificate chain from web service.
CHECK:
- Web service Url is valid and the web services are functional.
'UnRegister' activity started.
'UnRegister' activity completed in '3.78E-05' seconds.
VERBOSE: Workflow Instance ID 'a9313cfa-b82c-4bd2-9df6-81acca1bcbbc' completed.
VERBOSE: Workflow run-time (sec): 1.5083016.
It looks like the telephone are not able to download the root CA, but the webservice is available and reachable via port 80 and 443 too.... So, what is the reason? Why the Polycom CX600 is not able to download the root CA?? -
Best practice for simply invoking a web service
Hello,
We have web services deployed and accessible as wsdl documents in the SOA service manager/UDDI product. What is the best practice for simply calling a web service method deployed without regard to whether it is deployed on Tomcat, WebSphere, Oracle, etc.
I'd just like to create a java client to make a web service call and JAXRPC has me confused because you seem to have to have custody of the web service implementation code to call a service. Can someone point me in the right direction?
Thanks,
SeanThanks. Here is my wsdl, how would you say this is encoded?
<?xml version="1.0" encoding="UTF-8"?>
<definitions
name="OracleProcess"
targetNamespace="http://xmlns.oracle.com/OracleProcess"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:tns="http://xmlns.oracle.com/OracleProcess"
xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:client="http://xmlns.oracle.com/OracleProcess"
>
<types>
<schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://xmlns.oracle.com/OracleProcess"
xmlns="http://www.w3.org/2001/XMLSchema">
<element name="OracleProcessProcessRequest">
<complexType>
<sequence>
<element name="input" type="string"/>
<element name="input2" type="string"/>
</sequence>
</complexType>
</element>
<element name="OracleProcessProcessResponse">
<complexType>
<sequence>
<element name="result" type="string"/>
</sequence>
</complexType>
</element>
</schema>
</types>
<message name="OracleProcessRequestMessage">
<part name="payload" element="tns:OracleProcessProcessRequest"/>
</message>
<message name="OracleProcessResponseMessage">
<part name="payload" element="tns:OracleProcessProcessResponse"/>
</message>
<portType name="OracleProcess">
<operation name="process">
<input message="tns:OracleProcessRequestMessage"/>
<output message="tns:OracleProcessResponseMessage"/>
</operation>
</portType>
<binding name="OracleProcessBinding" type="tns:OracleProcess">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="process">
<soap:operation style="document" soapAction="process"/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
</operation>
</binding>
<service name="OracleProcess">
<port name="OracleProcessPort" binding="tns:OracleProcessBinding">
<soap:address location="http://st4s:9700/orabpel/default/OracleProcess/1.0"/>
</port>
</service>
<plnk:partnerLinkType name="OracleProcess">
<plnk:role name="OracleProcessProvider">
<plnk:portType name="tns:OracleProcess"/>
</plnk:role>
</plnk:partnerLinkType>
</definitions> -
How my client can acces to my web Services??
We want buy Oracle9iAS and we want know How our clients can access aour web services? They need some special software? or just need to send us a XML?
ThanksAs long as they can send standard XML based SOAP messages, Oracle can handle it. Interoperability based on standards is critical for the team building Web services into the Oracle environment.
Backing that up, here is some pointers. Oracle belongs to both the Web Services Interoperability (WS-I) group (actually was a founding member along with IBM and Microsoft - http://www.ws-i.org) and SOAPBuilders (which is an ad-hoc consortium of several dozen vendors working on interoperability - http://ws-interop.oracle.com/soapbuilder/). One of our roles on the WS-I team is working on building a reference implementation of the WS-I Basic profile (specific versions of SOAP, WSDL and UDDI) which will be used to show interoperability amongst vendors in the WS-I.
If you download the developer preview of Oracle9iAS Containers for J2EE (see: http://otn.oracle.com/tech/java/oc4j/content.html) you will see it includes the SOAPBuilders interoperability test showing this so you can test it out yourself.
To see which standards groups Oracle belongs to, check out this page - in the Java space we participate in over 68 Java Specification Requests and more every day - but we also belong to W3C, OASIS and dozens of other standards groups and take that participation very seriously: http://otn.oracle.com/tech/xml/htdocs/standard.html
Finally, to see how your partners can test in an Oracle Web services environment independent of any special software, check out the latest demo put up a few days ago showing the built in tester that comes with any Web service published on Oracle9iAS - you get a Web page which lets you pass in parameters and try the Web service out on the fly. This tutorial happens to be publishing PL/SQL as a Web service but the same applies if you publish an EJB, JMS queue, or Java class as a Web service (see step 24):
http://otn.oracle.com/tech/webservices/htdocs/series/plsql/content.html
Hope this is a start for you.
Mike. -
How to print SOAP request at client program when program calls web service.
Hi friends,
While calling a web service, I am getting following error: javax.xml.rpc.JAXRPCException: Failed to parse WSDL
I believe it is due to an invalid parameter set for the request soap. I need to analysis this error. Can you help me to print SOAP request at client program when program calls web service.
Is there any way to print SOAP request XML?
Thanks.
JaykishanIs this question related to Oracle SOA suite? Which client are you using? Use SOAPUI to validate whether WSDL is correct.
Regards,
Anuj -
Looking for WLS 7.x Web Services interoperability information
Does anyone know of any published reports on compatibility when non-WLS clients
access a WLS web service? I’m completing some tests with clients created using
the Java Web Services Developers Pack but I’m more interested in how it also does
with other vendor implementations (Microsoft, IBM, Apache). I’m also interested
in whether WLS 6.x clients can access WLS 7.x web services. I haven’t seen BEA
referenced very often on the interoperability sites. Has BEA published any information
on their compatibility? Has anyone else published information on this?
Thanks,
DaveThe server seems to be OK (tried intra and internet) ... yes it's normally up.
Please try again and let me know of any further problems.
Thanks,
Bruce
Dave wrote:
Bruce,
Thanks for the link but it looks like the server is down (connection timed out).
Is the server normally up?
Thanks,
Dave
Bruce Stephens <[email protected]> wrote:
Hi Dave,
I think you will find that the round 3 tests build on most of the work
done in 1/2.
Also, there are results listed on our interop server
http://webservice.bea.com:7001/results/summary.html
Thanks,
Bruce
Dave wrote:
manoj,
I looked at test results on Sun’s site and whitemesa. I only noticedBEA in round
3. Can you point me to the other test results?
Thanks,
Dave
"manoj cheenath" <[email protected]> wrote:
BEA participate in the soapbuilder interop testing and WLS 7.0
pass all of the round I, II and III interop tests defined by soap
builders (with most vendors).
Also, we have internal interop tests for .Net and AXIS.
regards,
-manoj
"Dave" <[email protected]> wrote in message
news:[email protected]..
Does anyone know of any published reports on compatibility when
non-WLS
clients
access a WLS web service? I'm completing some tests with clients
created
using
the Java Web Services Developers Pack but I'm more interested in
how
it
also does
with other vendor implementations (Microsoft, IBM, Apache). I'm
also
interested
in whether WLS 6.x clients can access WLS 7.x web services. I haven'tseen BEA
referenced very often on the interoperability sites. Has BEA publishedany information
on their compatibility? Has anyone else published information on
this?
Thanks,
Dave -
Consumer-Proxy authentication via x.509 Certificate
Hi experts,
I want to consume a service from a erp system and authenticate via x.509 SSL Certificate. But in soamanager there is no checkbox for this authentication method when I create the logical port. Only u201CUser Id / passwordu201D and u201CSAP authentication Assertion Ticketu201D are existing under consumer security. Has someone any idea / hint? I have no Idea how I can solve the problemu2026The Basis Team installed the x.509 client certificate.
The logon to a service which is running on SAP ECC 6.0 works via SSL and Client Certificate. (Configuration in SOAMANAGER
Provider Security -> Transport Guarantee Type: Https
HTTP Authentication: x.509 SSL Client Certificate via Https)
But the authentication to a consumer proxy from SAP to a legacy system only works vie http and username / password at the moment
In SOAMANAGER -> Logical Port -> Consumer Security there is no opportunity for SSL oder Client certificate. There are only the two opportunities:
User ID / Password
SAP Authentication Assertion Ticket
In SOAMANAGER -> Logical Port -> Transport Settings: there is an opportunity to select Https. Is this selection enough for x.509 Client Certificate and SSL?
Someone an idea how to configure a consumer proxy (SAP ECC 6.0) for certificate authentication? -
Error while testing proxy client for FinancialUtilService
Hi
While testing my proxy client from jdev, I am receiving the below error. Attaching the code from my HTTPPortClient.Java file for your reference.
Did anything wrong while invoking uploadFileToUCM service? Can you please suggest ?
C:\Oracle\Middleware\jdk160_24\bin\javaw.exe -client -classpath C:\JDeveloper\mywork\GenericApplication\.adf;C:\JDeveloper\mywork\GenericApplication\Project1\classes;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.jrf_11.1.1\jrf.jar;C:\Oracle\Middleware\modules\com.oracle.toplink_1.0.0.0_11-1-1-5-0.jar;C:\Oracle\Middleware\modules\org.eclipse.persistence_1.1.0.0_2-1.jar;C:\Oracle\Middleware\modules\com.bea.core.antlr.runtime_2.7.7.jar;C:\Oracle\Middleware\modules\javax.persistence_1.0.0.0_2-0-0.jar;C:\Oracle\Middleware\oracle_common\modules\oracle.webservices_11.1.1\wsclient.jar -Djavax.net.ssl.trustStore=C:\Oracle\Middleware\wlserver_10.3\server\lib\DemoTrust.jks com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient
inside invokeservice
wsdlDoc: https://adc-fap0757-fin.oracledemos.com/finFunShared/FinancialUtilService?wsdl
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
SEVERE: java.io.FileNotFoundException: .\config\jps-config.xml (The system cannot find the path specified)
INFO: WSM-09004 Component auditing cannot be initialized.
Finished invokeservice
inside invokeupload
INFO: Recipient Alias property not configured in the policy. Defaulting to encrypting with signers certificate.
com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.ServiceException: JBO-FND:::FND_CMN_SYS_ERR: <MESSAGE><NUMBER></NUMBER><TEXT>An application error occurred.</TEXT><CAUSE></CAUSE><ACTION></ACTION><DETAILS></DETAILS><INCIDENT></INCIDENT></MESSAGE>
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:141)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:125)
at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:95)
at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:136)
at $Proxy43.uploadFileToUcm(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.wsee.jaxws.spi.ClientInstanceInvocationHandler.invoke(ClientInstanceInvocationHandler.java:84)
at $Proxy44.uploadFileToUcm(Unknown Source)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.invokeUpload(FinancialUtilServiceSoapHttpPortClient.java:140)
at com.oracle.xmlns.apps.financials.commonmodules.shared.financialutilservice.FinancialUtilServiceSoapHttpPortClient.main(FinancialUtilServiceSoapHttpPortClient.java:74)
Process exited with exit code 0.
Thanks
SamySo the documented approach results in corrupted file ? Can you confirm:
Ans) Yes
How was the zip file created, is it compressed ? Yes
If you encode / decode locally with your logic (without any call to WS) does the resulting zip work with the same tool that gives the corruption error ? \Yes, It is not giving any error.
How are you accessing the file from UCM ?
Navigate to below page in Fusion apps and we will be able to search for the uploaded file. Click on the file name , we will be able to open or save it to local system. When I try to open it ,it says invalid file.
Login To Fusion Apps -> Navigator -> Tools -> File Import and export
Can you provide the code you use for the content encoding / decoding (make sure no passwords or URLs are included) ?
Please check the below code in Bold for specific logic for encoding, which is same as the documented approach.
private String invokeUpload() {
System.out.println("inside invokeupload");
ObjectFactory objectFactory = new ObjectFactory();
DocumentDetails documentDet = new DocumentDetails();
String fileNameWithPath = "C:\\PozSuppliersInt.zip";
String fileName = "PozSuppliersIntSamy2912_9.zip";
String contentType = "zip";
String title = "Suppliers2912";
String ucmAccountInfo = "prc$/supplier$/import$";
String ucmSecurityGroup = "FAFusionImportExport";
String docname = "PozSuppliersIntSamy2912_9.zip";
File file = new File(fileNameWithPath);
byte[] content = null;
try{
content = Base64.encode(loadFile(file));
catch(IOException e){
System.out.println("Exception while encoding file " + e.getMessage());
System.out.println("Encoded String1: " + content);
documentDet.setContent(objectFactory.createDocumentDetailsContent(content));
documentDet.setFileName(objectFactory.createDocumentDetailsFileName(fileName));
documentDet.setContentType(objectFactory.createDocumentDetailsContentType(contentType));
documentDet.setDocumentTitle(objectFactory.createDocumentDetailsDocumentTitle(title));
documentDet.setDocumentAuthor(objectFactory.createDocumentDetailsDocumentAuthor(username));
documentDet.setDocumentSecurityGroup(objectFactory.createDocumentDetailsDocumentSecurityGroup(ucmSecurityGroup));
documentDet.setDocumentAccount(objectFactory.createDocumentDetailsDocumentAccount(ucmAccountInfo));
documentDet.setDocumentName(objectFactory.createDocumentDetailsDocumentName(docname));
UploadFileToUcm uploadFileToUcm = new UploadFileToUcm();
uploadFileToUcm.setDocument(documentDet);
String retStatus = null;
try {
retStatus = financialUtilService.uploadFileToUcm(documentDet);
System.out.println("File successfully Uploaded.Status is:" + retStatus);
output = "File successfully Uploaded.Status is:" + retStatus +". ";
} catch (Exception e) {
e.printStackTrace();
return retStatus;
private static byte[] loadFile(File file) throws IOException {
InputStream is = new FileInputStream(file);
long length = file.length();
if (length > Integer.MAX_VALUE) {
System.out.println("File is too large ");
byte[] bytes = new byte[(int)length];
int offset = 0;
int numRead = 0;
while (offset < bytes.length &&
(numRead = is.read(bytes, offset, bytes.length - offset)) >=
0) {
offset += numRead;
if (offset < bytes.length) {
// throw new IOException("Could not completely read file " + file.getName());
System.out.println("Could not completely read file: " + file.getName());
is.close();
return bytes; -
How to create stub for C++ client to invoke a j2ee web service
Hi All,
I have developed a j2ee web service which is deployed in Tomcat. I have to call this service from C++ client. I have followed "Axis C++ Client User's Guide" to create stub for my service. I am running WSDL2Ws tool with command
D:\axisserver\axis-c-win\wsdls>java -cp %AXISCLASSPATH_C%; org.apache.axis.wsdl.wsdl2ws.WSDL2Ws Calculator.wsdl -lc++ -sclient. While running this WSDL2Ws tool , it is giving error.
Exception Stack is as follows.
Exception in thread "main" java.lang.NoSuchMethodError
at org.apache.axis.wsdl.wsdl2ws.info.Type.<init>(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.info.TypeMap.getType(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.createParameterInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.addRPCStyleInputMessageToMethodInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.setMethodInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.getServiceInfo(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.generateWrappers(Unknown Source)
at org.apache.axis.wsdl.wsdl2ws.WSDL2Ws.main(Unknown Source)
Anybody can suggest me what i missed...
Thanks in advance...Hi all,
I have solved this issue. I had JDK1.3 by default. So it was giving error. When i use java from jdk1.4, it created stubs for web service. Java version was the problem. Now it is working fine.
Thanks.... -
APDU for X.509 Certificate
Would like to understand APDU commands necessary to read X.509 Certificate from CAC card. Have ActivCard document describing "PKI Applet Specification", and believe I must first perform "Install" (CLA:84, INS:E6) then "PIN Verify" (CLA:80, INS:20) then presumably can read EF 02FE, which is the certificate.
My implementation of "Install", only using "make selectable", returns 6985, "conditions of use not satisfied".
And my implementation of "PIN Verify" returns 6D00, "unknown instruction given in the command".
Any sample APDU code for getting the X.509? Thanks.I have the ActivCard SDK, and I have run their acbsi_sample.exe program, which reasonably interacts with a Navy issued CAC card, for which I know the PIN.
Even with the SDK, which implements BSI, I remain ignorant of how to verify PIN and then read the X.509 Certificate. The demo program has no option to do either.
I am quite aware of the GSCISV2-0.pdf document. It identifies the CAC RID as A000000079 and the "PKI Certificate Container" as FID 02FE.
Using the ActivCard BSI demo program, I can interrogate that AID but cannot access any tag, all attempts to "read data value" returning "data value length: 0". Furthermore, as stated above, I see no way to verify PIN, and the GSCISV2-0.pdf clearly states that access to the "PKI Certificate Container" is "PIN always".
Would be most grateful for any assistance you can provide. -
Problems running DII client for consuming webservices
Hello webservices experts,
am running into problems - when I try running my DII client for a webservice that I've successfully deployed on j2sdkee1.4.
The exception goes like this
java.rmi.RemoteException: JAXRPC.JAXRPCSERVLET.28: Missing port information
at com.sun.xml.rpc.client.dii.BasicCall.invoke(BasicCall.java:462)
I've searched this forum and others as well. Although a lot of people seem to be having this problem nobody seems to have got it solved. Any way out? The client is a mere copy paste of the DII client example in j2eetutorial 1.4Solved it ! Some endpoint alias problem during deployment ! Now works fine !
Maybe you are looking for
-
How do I turn off hierarchical key wording in Lightroom? The Interface Preference for Auto Complete is already turned off, but I still get California>United States>North America when all I need is California.
-
Photoshop CS quitting unexpectedly
Usually happens when loading a file. Today, the file size was about 100mb. It has happened with far smaller files as well. Error message is that it can't load the color book because there is not enough RAM. I'm running a dual 2gig G5 with OSX 10.4.3
-
Qosmio - How can I create a bootable OS DVD?
Hi , Please Help me I have a Toshiba Qosmio laptop with Microsoft Windows Vista Ultimate . The DVD of the operating System was attached with the laptop but now i lost it. But i have the files that was in the original DVD But i don't know how to make
-
Cannot use iTunes to download apps or rearrange icons
Since I updated iOS 8 on my iPhone 6 this morning, I cannot rearrange the icons on my screens, either right on the phone or in iTunes when connected with USB cord. I also cannot install apps that I previously downloaded. Anyone else having these pr
-
Where do I download .jar file..?
I have an JApplet, but it does not show on the web. Is there a .jar file I can implement in my project, and where can I find it? In advance thanx!!!