External Meeting Content access Lyncweb services URL vs Meet simple URL
So im really confused, i have my 2013 lync single server front end pool, i have my 2013 edge server and a i have a ISA2006 server as my reverse proxy, i think i have traffic flowing as i want to but i seem to be running into one last issue.
The DAMN MEET URL and the EXTERNAL WEB SERVICES URL
So both of these are set to point at my reverse proxy. i can see that when i access a meet url externally via the meet url it calls the external web services url, i can tell because it fails on the certificate i have set on the reverse proxy listener for
the external meet url.the reverse proxy takes the 443 request and shoots its off to 4443 on the front end external IIS site on the front end pool and that seems to work
So what do i do? clicking the meet url is calling the external web services url, which is failing on the certificate, of course as the web listner on the RP is listening for the MEET URL, i have no intention of purchasing public certificate with a SAN for
the external web services url, that seems overkill to me, is there something im not getting here?
Do I need the external web services url? im really only wanting to be able to send meetings to clients outside our domain with no access to it to be able to connect to remote conference, which makes me ask a second question, do i really need the edge server
in place then either?
thanks guys!
You cannot leave the external web services FQDN out of the certificate.
While the External Web Services FQDN and the Simple URLs may not always point to the same IP in larger scaled deployments, in smaller deployments they will be the same. But you cannot just pick one and omit the other because you feel that they are
redundant.
Lync clients are programmed to use both URLs at different times and both FQDNs must be included in the certificate's SAN field to meet the TLS security requirement otherwise some things will not function correctly.
You also must have the Edge Server in place and correctly deployed otherwise your external meetings will have no audio, video, or application sharing capabilities. You'll basically be limited to hosting web conferences with only whiteboarding. You'll
also need to publish a WAC (Office Web Apps) server to support PowerPoint sharing in these meetings as well.
In short you cannot simply pick and choose which server components are deployed, you need all of them and they need to be configured following best practice guidelines to have any semblance of a successful user experience.
Jeff Schertz | Microsoft Solutions Architect - Polycom | Lync MVP
Similar Messages
-
SQL 2012 R2 - SSRS with the Report Server Web Service URL, can't access
Hello:
I am installing Dynamics CRM 2013. When I am on RS Configuration manager; I am running into the SSRS (SQL 2012 on Server 2012)SQL issue, can't access the
http://servername/:80/ReportsServer or
http://servername/:Reports web pages
The database server has SSRS native mode installed, it is using a domain account for the service credentials. This account also has permission to log on a service in the GPO
Account is a domain admin and is a local administrator
SQL server is 2012 R2 on Windows Server 2012. User base is less than 60 people and they have SharePoint 13 on the same SQL server. Server more than enough resources.
Any assistance would be appreciated.
Thanks..DanHi DCas1,
According to your description, you could not access
http://servername/:80/ReportsServer or http://servername/:Reports web pages from Reporting Services configuration manager, SSRS in configured in native mode and the account you used is a local administrator.
In Reporting Services, URLs are used to access the Report Server Web service and Report Manager. Before we can use either application, we need to configure at least one URL each for the Web service and Report Manager. If we are using the Reporting Services
Configuration tool to create or modify the URLs, we can accept the default values for a URL or specify custom values. When we create a report server URL, we must specify the following parts: Host name, port and Virtual directory. In order to improve the efficiency
of troubleshooting, I need to ask several questions:
Since the default URL is http://<computername>/reportserver, did you type the URLs manually? or the URLs configured in Reporting Services configuration manager are
http://servername/:80/ReportServer and
http://servername/:Reports?
Could you provide detailed information of error log(default location: %programfiles%\Microsoft SQL Server\MSRS11.MSSQLSERVER\Reporting Services\LogFiles)?
For more information about Configuring a URL, please refer to the following documents:
http://msdn.microsoft.com/en-us/library/ms159261(v=sql.110).aspx
http://msdn.microsoft.com/en-us/library/bb630447(v=sql.110).aspx
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
WRVS4400N accessing local services via external IP
Hello everyone,
Recently I'm having issues with accessing local services via external IP. Short description of configuration:
- sub.mydomain.com pointing to my external IP.
- few web services running on my local server with reverse proxy on Apache 2
- firewall on router enabled
- ips on router disabled
- single port forwarding: WAN 80->Lan 443, WAN 443->LAN 443
- accessing my services via sub.mydomain.com/service1, sub.mydomain.com/service2, etc
- I had to create a new rule in internet access policy allowing LAN, any, any to
Basicaly if I go no matter if I type http or https I will be redirected on 443.
That configuration has beed working without any issues for a month. Recently I have increased the amount of DHCP users and suddenly it's not working any more. I can still access my services from outside but not from LAN.
Restarting router does the trick for a while, sometimes for few minutes, sometimes longer.
Enabling IPS is the way to go but then I'm limited to around 22Mbit/s.
I did almost everything what is possible to solve this issue, I'm lost and frustrated. I have no idea what happend.
What I can't understand that it was working, suddenly it's stopped and there are two solutions, either to enable IPS or to restart router which to be honest aren't the solution I'm looking for.
Please help me point the problem.
Thank you in advance
Best regards
BartekHi, My name is Eric Moyers. I am a Network Support Engineer in the Cisco Small Business Support Center.
I recieveed your email and have looked at your posting. This seems like it may be more complicated that what should be handled in a chat. Could you please call into the the Small Business Support Center for support.
Check the listings on this link and contact the center nearest you.
http://www.cisco.com/en/US/support/tsd_cisco_small_business_support_center_contacts.html
If you are in the US, please call 1-866-606-1866, and any answering agent should be able to assist you.
Eric Moyers
Cisco Network Support Engineer
CCNA, CCNA-Wireless
1-866-606-1866 -
External WS Transaction Configuration: WLS Coordination Service URL
Hi all!
We are building SOA composites with the SOA Suite 11g (11.1.1.5). In one of our BPEL processes we are calling an external web service running on a JBoss AS 7.1.
We have several problems with the web service integration in our XA transaction using WS Transaction with WSAT.
We have to configure the coordination service URL of the WebLogic Server in the JBoss web service configuration.
Wich URL do we have to take?
AxelHi all!
We are building SOA composites with the SOA Suite 11g (11.1.1.5). In one of our BPEL processes we are calling an external web service running on a JBoss AS 7.1.
We have several problems with the web service integration in our XA transaction using WS Transaction with WSAT.
We have to configure the coordination service URL of the WebLogic Server in the JBoss web service configuration.
Wich URL do we have to take?
Axel -
External Web Services Url Change
When I installed Lync 2013 I used the same fqdn for the internal and external web services url. I now am implementing a reverse proxy server and realized that the fqdn needs to be different for the external services. I am using IIS AAR on a 2012
Server for my proxy. WHen I change the web services external url in topology builder and republish it, what other steps do I need to do after the change. I figured I would need to rerun the setup, but do I need new internal or external certs if I already have
the SAN name in my certificate that I plan to use.External web FQDN is required in certificate for Lync Server Front End Server, you can that at
http://technet.microsoft.com/en-us/library/gg398094.aspx
External web FQDN is require in certificate for Reverse Proxy Server, check that at
http://technet.microsoft.com/en-us/library/gg429704.aspx
Lisa Zheng
TechNet Community Support -
Changing Content.Access.Path into short URL implies errors at CAT2
Hello,
After changing the Content.Access.Path to another value due to the note 549610 I see complications and errors on my application cat2, that some buttons and information aren´t showed any more.
When I do the changes in the Content.Access.Path backwards, the errors in cat2 aren´t there any more.
I think that solving one problem (changing parameters) has effect to onother application.
Who can help me, please?
Thank you in advance!!
Best regards
AndreasHi priya,
Not sure: check syntax in your Update Roules, also at level of start routine.
Ciao.
Riccardo. -
Hi,
while consuming the WCF service POST method Jquery, getting error in Chrome and firefox, in IE Its working fine.
ERROR:Failed to load resource: the server responded with a status of 405 (Method Not Allowed) XMLHttpRequest cannot load (WCF service URL). Invalid HTTP status code 405.
Jquery used to call:
$.support.cors = true
$.ajax({
type: "POST",
url: serviceURL,
data: JSON.stringify(managedProps),
useDefaultXhrHeader:false,
contentType: "application/json; charset=utf-8",
dataType: "json",
//processData: true,
crossDomain: true,
success: function (data, status, jqXHR) {
alert("sucess");
error: function (xhr) {
alert("error");
WCF sevice Web.config
<webHttpBinding>
<!--<binding name="webHttpBindingWithJsonP" transferMode="StreamedRequest" />-->
<binding name="crossDomain" crossDomainScriptAccessEnabled="true" transferMode="StreamedResponse" />
</webHttpBinding>
</bindings>
<services>
<service name="DynamicRefinerWCF.DynamicRefiner">
<endpoint address="" behaviorConfiguration="REST" bindingConfiguration="crossDomain" binding="webHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<endpoint address="mex" binding="mexHttpBinding" contract="DynamicRefinerWCF.IDynamicRefiner" />
<host>
<baseAddresses>
<add baseAddress="http://localhost/example.svc" />
</baseAddresses>
</host>
</service>
</services>
<!--<protocolMapping>
<add binding="basicHttpsBinding" scheme="https" />
</protocolMapping>-->
<!--<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />-->
</system.serviceModel>
<system.webServer>
<!--<modules runAllManagedModulesForAllRequests="true"/>-->
<modules>
<remove name="WebDAVModule" />
</modules>
<handlers>
<remove name="WebDAV" />
</handlers>
<directoryBrowse enabled="true" />
<httpProtocol>
<customHeaders>
<add name="Access-Control-Allow-Origin" value="*"/>
<add name="Access-Control-Allow-Headers" value="Content-Type"/>
<add name="Access-Control-Allow-Methods" value="GET, POST, PUT, DELETE, OPTIONS"/>
<add name="Access-Control-Request-Headers:" value="*" />
<add name="Access-Control-Request-Method:" value="*" />
</customHeaders>
</httpProtocol>
<!--
To browse web app root directory during debugging, set the value below to true.
Set to false before deployment to avoid disclosing web app folder information.
-->
<!--<directoryBrowse enabled="true"/>-->
</system.webServer>
</configuration>
Thanks,
SwathiRight on - I have done that a number of times.
-
Hi All,
While creating a model in VC7.0 based on an external webservice(ex: http://api.google.com/GoogleSearch.wsdl), I ended-up with Invalid Web service URL error.
Note: When I access the same WSDL URL using browser it didn't ask me for user authentication, the XML file was opened neatly.
Please assist.
FYI- Portal Version is NW2004s SP16.
Kind regards,
VijayHi Fabien,
Thanks for your feedback.
Yes, I had tried with simple and local one, and found success in that as well.
But, this time I would like to create a model based on the some 3rd party webservice available in internet.
If you know few simple 3rd party webservice available in internet as like the one I have mentioned in my initial post, that would be helpful to me.
Many thanks.
Kind regards,
Vijay -
Shared Services URL throws 404 Error
Hi,
I've newly installed and configured EPM on a test server. I seem to be able to start the Hyperion Foundation Services (port 28080 is listening), but when accessing the Shared Services URL, I get a 404 error.
One note: I installed the product at G:\Oracle\Middleware\..., but when starting the Foundation Services, a "product" folder is created under G:\ root folder. It contains the same folder structure as G:\Oracle\Middleware\EPMSystem11R1\products\ but there is no content in the folders. I did not make any conscious update to any config file, so I have no clue why Foundation Services is behaving this way. The diagnostic log seems to point to this as the cause of deployment failure, because it's looking for ear files which don't exist in G:\products.
I've restarted the machine, re-ran the configurator many times, re-installed the EPM product suite, double checked environment variables and registry keys, yet this issue still persists. Can someone give me some help on this? Many thanks!!!
The EPM version is 11.1.2.2 and we are using SQL Server 2008R2.
===========ERROR LOG==================
<May 29, 2013 10:05:49 AM EDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application 'SHAREDSERVICES [Version=11.1.2.0]' due to error weblogic.management.DeploymentException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear.
weblogic.management.DeploymentException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear
at weblogic.application.internal.EarDeploymentFactory.findOrCreateComponentMBeans(EarDeploymentFactory.java:193)
at weblogic.application.internal.MBeanFactoryImpl.findOrCreateComponentMBeans(MBeanFactoryImpl.java:48)
at weblogic.application.internal.MBeanFactoryImpl.createComponentMBeans(MBeanFactoryImpl.java:110)
at weblogic.application.internal.MBeanFactoryImpl.initializeMBeans(MBeanFactoryImpl.java:76)
at weblogic.management.deploy.internal.MBeanConverter.createApplicationMBean(MBeanConverter.java:91)
Truncated. see log file for complete stacktrace
Caused By: java.io.IOException: File not found with : G:\products\Foundation\AppServer\InstallableApps\common\interop.ear
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:117)
at java.util.jar.JarFile.<init>(JarFile.java:135)
at java.util.jar.JarFile.<init>(JarFile.java:99)
at weblogic.utils.jars.JarFileDelegate.<init>(JarFileDelegate.java:32)
Truncated. see log file for complete stacktrace
>
<May 29, 2013 10:05:57 AM EDT> <Emergency> <Deployer> <BEA-149259> <Server 'FoundationServices0' in cluster 'FoundationServices' is being brought up in administration state due to failed deployments.>I am able to start the Weblogic Administration Console.
In Deployment, I can find the SharedServices listed. When clicking on it, it throws an error about no ear found in path.
In Lock & Edit mode, when Updating the SharedServices deployment, I can see that the Path is indeed pointing to the wrong G:\Products\... folder.
I thought I could update it to point to the right one, but I get an error upon saving: [Deployer:149082]You cannot distribute application <SHAREDSERVICES> without version...
So frustrated :( -
How request the service URL automatically?
Hi, Everyone,
How can I let the 79** serials phone auto request the service URL without user press the 'Services' button?
(Except using 'IDLE & IDLE Timeout')
BTW, base on this idea, i'm try to using the push2phone application (ASP) which is in CiscoIPService SDK, but i'm failed;
Trace the codes, i'm found the problem is in the 'getDeviceList()', see the symbol("-->") marked:
function getDeviceList(callManager, userID, password, protocol)
// [callManager: *.*.*.*] [UserID: "pusher"] [password: "pusher"] [protocol: "https"]
var authstring = text2base64(userID + ":" + password);
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP.3.0");
var xmlDoc = new ActiveXObject("Msxml2.FreeThreadedDOMDocument.3.0");
xmlDoc.async = false;
xmlhttp.Open("GET", protocol + "://" + callManager + "/CCMAdmin/Reports/devicelistx.asp", false);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Connection", "close");
--> xmlhttp.Send(); // Error occured
--> xmlDoc.loadXML(xmlhttp.responseText);
--> Application("deviceList") = xmlDoc; // Application("deviceList") is NULLHi, Remy, Thank you for your reply:)
About my CCM:
CCM System version: 4.1(3)
CCM Administration version: 4.1(0.11)
You say:
"You have to know taht since CCM 4.1.3 the devicelistx is no longer supported.
The page is always present but no longer supported by cisco. "
Is that meaning i cannot call the function 'getDeviceList()' in this CCM version and subsequent?!
(Yes, i can access the devicelistx.asp by: "https://*.*.*.*/ccmadmin/Reports/devicelistx.asp")
On the other hand, I try to call the 'phonepush()' directly, it looks like:
<%@ Language=JavaScript %>
<%
function phonePush(phoneIP, URI, userID, password)
// URI: Spec service URL, such as: http://*.*.*.*/CIP/index.asp
var authstring = text2base64(userID + ":" + password);
var xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
var pushxml;
pushxml = "";
pushxml = "XML=" + Server.URLEncode(pushxml);
xmlhttp.Open("POST", "http://" + phoneIP + "/CGI/Execute", false);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Connection", "close");
xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlhttp.Send(pushxml);
return xmlhttp.responseText;
phonePush(phoneIP, URI, userID, password); // calling
%>
But it has not succeeded:( Is that can works well?! Or is there has anyway that can perform the automation?
Thanks!!! -
Allow external traffic to access internal computers
We have an ASA 5505 running version 8.4. We are having problems allowing external traffic to access computers behind the firewall. Our current config is:
ASA Version 8.4(3)
hostname ciscoasa
domain-name default.domain.invalid
names
interface Ethernet0/0
switchport access vlan 2
interface Ethernet0/1
interface Ethernet0/2
interface Ethernet0/3
interface Ethernet0/4
interface Ethernet0/5
interface Ethernet0/6
interface Ethernet0/7
interface Vlan1
nameif inside
security-level 100
ip address 10.2.1.1 255.255.255.0
interface Vlan2
nameif outside
security-level 0
ip address 152.18.75.132 255.255.255.240
boot system disk0:/asa843-k8.bin
ftp mode passive
dns server-group DefaultDNS
domain-name default.domain.invalid
object network a-152.18.75.133
host 152.18.75.133
object network a-10.2.1.2
host 10.2.1.2
object-group network ext-servers
network-object host 142.21.53.249
network-object host 142.21.53.251
network-object host 142.21.53.195
object-group network ecomm_servers
network-object 142.21.53.236 255.255.255.255
object-group network internal_subnet
network-object 10.2.1.0 255.255.255.0
access-list extended extended permit ip any any
access-list extended extended permit icmp any any
access-list extended extended permit ip any object-group ext-servers
access-list acl_out extended permit tcp any object-group ecomm_servers eq https
access-list outside_in extended permit ip any host 10.2.1.2
pager lines 24
logging asdm informational
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
icmp permit any echo-reply inside
icmp permit 10.2.1.0 255.255.255.0 inside
icmp permit any echo-reply outside
icmp permit any outside
asdm image disk0:/asdm-523.bin
no asdm history enable
arp timeout 14400
nat (inside,outside) source static a-10.2.1.2 a-152.18.75.133
route outside 0.0.0.0 0.0.0.0 152.18.75.129 1
timeout xlate 3:00:00
timeout pat-xlate 0:00:30
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
timeout tcp-proxy-reassembly 0:01:00
timeout floating-conn 0:00:00
dynamic-access-policy-record DfltAccessPolicy
user-identity default-domain LOCAL
http server enable
http 10.2.1.0 255.255.255.0 inside
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh 10.2.1.2 255.255.255.255 inside
ssh 122.31.53.0 255.255.255.0 outside
ssh 122.28.75.128 255.255.255.240 outside
ssh timeout 30
console timeout 0
dhcpd auto_config outside
dhcpd address 10.2.1.2-10.2.1.254 inside
dhcpd enable inside
threat-detection basic-threat
threat-detection statistics access-list
no threat-detection statistics tcp-intercept
webvpn
class-map inspection_default
match default-inspection-traffic
policy-map type inspect dns preset_dns_map
parameters
message-length maximum 512
policy-map global_policy
class inspection_default
inspect dns preset_dns_map
inspect ftp
inspect h323 h225
inspect h323 ras
inspect rsh
inspect rtsp
inspect esmtp
inspect sqlnet
inspect skinny
inspect sunrpc
inspect xdmcp
inspect sip
inspect netbios
inspect tftp
inspect icmp
inspect ip-options
service-policy global_policy global
prompt hostname context
no call-home reporting anonymous
call-home
profile CiscoTAC-1
no active
destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService
destination address email [email protected]
destination transport-method http
subscribe-to-alert-group diagnostic
subscribe-to-alert-group environment
subscribe-to-alert-group inventory periodic monthly
subscribe-to-alert-group configuration periodic monthly
subscribe-to-alert-group telemetry periodic daily
Cryptochecksum:c7d7009a051cb0647b402f4acb9a3915
: end
ciscoasa(config)# sh nat
Manual NAT Policies (Section 1)
1 (inside) to (outside) source static a-10.2.1.2 a-152.18.75.133
translate_hits = 1, untranslate_hits = 112
ciscoasa(config)# sh nat
Manual NAT Policies (Section 1)
1 (inside) to (outside) source static a-10.2.1.2 a-152.18.75.133
translate_hits = 1, untranslate_hits = 113
ciscoasa(config)#Okay I will bite.
Assuming you have
a. dynamic pat rule for lan users-devices to reach the internet
(missing ???????????????
(should look like a nat rule that makes two entries when you make the one rule)
(with router set at defaults it may make this rule for you already in place)
-object bit
object network obj_any_inside
subnet 0.0.0.0 0.0.0.0
and rule bit
object network obj_any_inside
nat (inside,outside) dynamic interface
b. route rule - tells asa next hop is IP gateway address
route outside 0.0.0.0 0.0.0.0 152.18.75.129 1
c. Nat rule for port forwarding- Using objects it creates two entries (lets say i call it natforward4server)
object bit
object network natforward4server
host 10.2.1.2
Nat bit
object network natforward4server
nat (inside,outside) static interface service tcp 443 443
d. Nat for translated ort.
If you had wanted to translate a port, lets say you have external users that can only use port 80 but need to access https
object bitobject network natfortransl4server
host 10.2.1.2
Nat bit
object network natfortransl4server
nat (inside,outside) static interface service tcp 443 80 -
Exception while accessing web service through code
I have a web service developed using AXIS deployed on Weblogic 8.1
Another web application cotaining GUI deployed on Weblogic 10 tries to access this web service through code.
This piece of code to invoke the web service is written in Action Class present inside web application. (Struts is used in GUI based web app)
When the code tries to invoke web service I am getting following error.
(401)Unauthorized xxx
at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:630)
at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:128)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:71)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:150)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:120)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:180)
at org.apache.axis.client.Call.invokeEngine(Call.java:2564)
at org.apache.axis.client.Call.invoke(Call.java:2553)
at org.apache.axis.client.Call.invoke(Call.java:1753)
at com.ebv.app.web.action.UCS77_1ProcessOfficialChangeSaveDetailsAction.invokeAx(UCS77_1ProcessOfficialChangeSaveDetailsAction.java:243)
at com.ebv.app.web.action.UCS77_1ProcessOfficialChangeSaveDetailsAction.callUCS77_1ProcessOfficialChangeWebService(UCS77_1ProcessOfficialChangeSaveDetailsAction.java:173)
at com.ebv.app.web.action.UCS77_1ProcessOfficialChangeSaveDetailsAction.processAction(UCS77_1ProcessOfficialChangeSaveDetailsAction.java:133)
at com.ebv.framework.web.action.EBVAction.execute(EBVAction.java:106)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:415)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
The web service URL is as follows:
http://10.140.96.5:7808/services/ucs77_1/ProcessOfficialChangeSave77_1-v0001.soap
However
When I try to hit the webservice URL directly on browser login window appears where same username/password I provide which are passed in code to invoke the web service. I get the success page indicating that web service is invoked on hitting enter.
The method used in UCS77_1ProcessOfficialChangeSaveDetailsAction.java to invoke web service is as follows:
public String invokeAx
String xmlMessage,
String webServiceURL,
String webServiceOperation,
String username,
String password)
String xmlResponse = null;
Call webServiceCall = null;
InputStream input = new ByteArrayInputStream(xmlMessage.getBytes());
Service service = new Service();
try
webServiceCall = (Call) service.createCall();
SOAPEnvelope env = new SOAPEnvelope(input);
SOAPEnvelope resEnv = null;
webServiceCall.setTargetEndpointAddress(new URL(webServiceURL));
webServiceCall.setOperationName(new QName(webServiceOperation));
webServiceCall.setUsername(username);
webServiceCall.setPassword(password);
try
resEnv = webServiceCall.invoke(env);
catch (AxisFault e)
e.printStackTrace();
Message responseMessage = webServiceCall.getResponseMessage();
SOAPEnvelope soapXml = (SOAPEnvelope) responseMessage.getSOAPEnvelope();
xmlResponse = new String(soapXml.toString().getBytes(AppConstants.UTF8),AppConstants.UTF8);
if (xmlResponse == null)
xmlResponse = resEnv.toString();
catch (Exception e1)
e1.printStackTrace();
return xmlResponse;
Both the weblogic server reside on two different AIX machines.
Can anybody tell what's the problem while invoking web service through code?time to look into the gateway logs as stated by the fault ..
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode xmlns:p="http://schemas.oblix.com/ws/2003/08/Faults">c</faultcode><faultstring>Step execution failed with an exception</faultstring><detail></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
looks like the cipher step might have failed -
Error at run time When Access Web Service in web dynpro java
Hi
I am used web service created on other machine.I am used wsdl file created in web service.
is there any setting on J2EE Engine server for accessing web service? after run web dynpro application it gives following error.
The initial exception that caused the request to fail, was:
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out:could be due to invalid address.
at com.tssap.dtr.client.lib.protocol.Connection.openSocket(Connection.java:2117)
at com.tssap.dtr.client.lib.protocol.Connection.open(Connection.java:1380)
at com.tssap.dtr.client.lib.protocol.Connection.sendInternal(Connection.java:1534)
at com.tssap.dtr.client.lib.protocol.Connection.send(Connection.java:1427)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... 50 more
please help me.
thank in advanceHi,
java.io.IOException: Unable to open connection to host "128.9.125.6:8000". Connection timed out: could be due to invalid address. first check it are you able to connect the WSNavigator. I think you are not able to connect the WSNavigator and are you able to see the WebService in WSNavigator?
Procedure
To import a Web service model, proceed as follows:
1. Choose the context menu entry -
Create Model on the -
Models node of the relevant component.
2. In the model wizard, choose Import Web Service Model followed by Next.
3. In the second wizard window, enter a model name and specify the package and source code directory. The name of the proxy package is created automatically when you specify the model package.
4. Select whether your Web service source is from a local server, is addressed using a URL, or whether it is a UDDI service.
5. If you select Local File System or URL, choosing Next will take you to the following window in which you enter a local WSDL URL or select one by choosing Browse.
6. If you selected the option UDDI or URL, choosing Next will take you to the following wizard window in which you either enter a WSDL URL of a UDDI service directly or select one by choosing UDDIu2026
Enter the WSDL description of the Web service in the Wsdl field u2013 for example, http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService for an e-mail service.
You do not need to make any entries in the next step, Proxy Definition / URI Package Mappings. Choose Finish to close the window.
7. Switch to the Package Explorer view, select the file lport1.lp in the directory \src\packages\<myPackage>\, and check the port entries.
Hope this helps!!
Regards
Vijay -
Want to access RESTful Services through Java Program
We are trying to access RESTful Services exposed by Oracle database cloud through our Java code, with authentication enabled for a particular user.
Till now, we have completed below steps:
1) We have a working account with Oracle database cloud (Username – xxx.xxx)
2) We log in using the credentials for above account, and navigate to Oracle Apex ? SQL Workshop ? RESTful Services
3) We create a new “RESTful Service Module” by filling out the details as below:
Name: SampleTest
URI Prefix: test
URI Template: /getallemp
Pagination Size: 25 (kept to default)
Required Privilege: TestGroupPrivilege
Resource Handler Details:
Method: GET
Source Type: Query
Format: JSON
Source: select * from emp
After creating the above module and testing it, it works fine and the data is retrieved in JSON successfully.
The resulting URL for above RESTful Service Module is: https://<HOST_URL>/apex/test/getallemp
Note that “TestGroupPrivilege” is a privilege assigned to the user group “RESTful Services” and the user “xxx.xxx” is a member of “RESTful Services” user group.
4) We are unable to call the RESTful services from Java program. We are passing username and password in request header as basic authentication. But, we are getting: Error 500--Internal Server Error
5) If we change the “Required Privilege” to default i.e. no privileges present on the module, we can get the response through Java code and everything works perfectly fine.
Please suggest us in: How to access RESTful Services through Java code by passing user credentials in HTTP header for authentication. Also let us know if we have to do any settings through Apex, in case we are missing any.
Message was edited by: NeerajGirolkar
- When we are logging in to Oracle cloud on browser and execute the Oracle cloud RESTful service in another tab of same browser, we are able to get the result. But when executed the same RESTful service from a different browser or java program we get internal server error.
- After investigation, we found that when user logs in to oracle database cloud, a cookie is set in browser with name s “OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443” and value as some random token. This cookie is passed in the subsequent requests to the RESTful Service calls when using same browser and as a result, we are able to get the results
- In the Java program, we copied the same cookie with random token in the HTTP Request header and we got the proper response from REST APIs.
- It seems that this cookie is created by an Oracle Middleware tool/server called as OAM – Oracle Accounts Manager, which sends the authentication token after successful authentication and creates the cookie.
- We found that the cookie that OAM creates on authentication is exactly in the same format i.e. ‘OAMAuthnCookie_cstest-domo.db.us1.oraclecloudapps.com:443’. So, we are guessing that Oracle cloud uses OAM for authentication. Please refer to following link for same : http://docs.oracle.com/cd/E14571_01/doc.1111/e15478/sso.htm
Can anyone please suggest:
1. How to provide authentication to Oracle Cloud REST APIs from java program?
2. How to pass the username and password in Java code to OAM (or how to communicate with OAM using Java) so that we can receive the unique token from OAM. We can use the token in the further requests? 3. Also in Oracle cloud white papers , it is mentioned that they support OAuth2.0. But we didn’t find any URLs for same. Can anyone please confirm?
Thanks
~ Neeraj GirolkarHi Nilesh,
We tried to connect to Oracle Cloud Database using the way you suggested above, but unfortunately it is not working as well.
Can you let us know the authentication process with Oracle Cloud Database? We found in documentation that it uses OAM (Oracle Access Manager) for authentication. Can you tell us a bit about that? That will be extremely helpful.
Thanks,
- Neeraj -
I am trying to resolve this after setting up my new Farm.I am having 2 wfe ,1 sppserver,1 server dedicated for crawl ,1 for search and index in my farm. I guess dedicated crawl server is the root cause of the issue,i also did
disableloopback check settings but still facing the same issue,any solution?
Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problemHi Aditya,
Please refer to the links below and try if they help:
Add the full read rights to Default Content Access Account of Search Administration via the web application’s user policy.
http://sharepoint.stackexchange.com/questions/88696/access-is-denied-verify-that-either-the-default-content-access-account-has-acce
Grant the Default Content Access Account permission in User Profile Service Application
http://www.sysadminsblog.com/microsoft/sharepoint-search-service-access-is-denied/
Modify you crawl rule
http://wingleungchan.blogspot.com/2011/11/access-is-denied-when-crawling-despite.html
Add crawl servers ip to local host file
http://wellytonian.com/2012/04/sharepoint-search-crawl-errors-and-fixing-them/
Regards,
Rebecca Tu
TechNet Community Support
Maybe you are looking for
-
Report-Report Passing Values with SMOD_RSR00004
Hi, I operated the BADI SMOD_RSR00004 which suppose to help in mapping values from a sender report to a receiver report. I didn't succeed to see in a debug mode the sender query's time characteristic value I used. I mean that all the rows/columns cha
-
B2B with Firewall configuration for Outgoing messages
Hi, We have put B2B midtier within Intranet. We have firewall configuration for our network. When B2B sends the business message to remote trading partner.The connection first hits the firewall. Inorder to pass through the firewall what ports do we n
-
Substitution with different Case Count
Hello, we have a requirement to extend the normal substitution logic. Assume substitution (Material determination) is setup to ship product A, when nothing is available anymore ship product B. Normally when ordered is 10 CS of Product A and Material
-
Is form builder changed in R12 ?
Dear members, Oracle recently released its new version R12. I am not sure what will be Form Builder like in R12. I heard that there is no more Form bulider in R12 and It is being replaced by oracle applications frame work. Is this true ? I request al
-
How can create webi content link in BI Workspace?
Dear Expert, I'm facing problem with creating 2 webis content link in BI Workspace. I tried to follow this Creating a BI Workspace in BI4 Feature Pack 3. But I can not find "PARAMETER_OUT". Please help me to how can I create "PARAMETER_OUT" to connec