Determination of Service URL
Hi Forum!
I've searched this forum but i had no luck.
This is my problem:
We have 3 servers Dev, QA, Prd. Each server have a internal url:
Dev = dev.mycompany.com:8000
QA = qa.mycompany.com:8000
Prd = prd.mycompany.com:8000
We've a webdispatcher instance for each server:
Public.mycompany.com:8100 for dev.mycompany.com:8000
Public.mycompany.com:8200 for qa.mycompany.com:8000
Public.mycompany.com:8300 for prd.mycompany.com:8000
We've created a webservice Zws_test with their endpoints. The dev server WSDL url is:
HTTP://dev.mycompany.com:8000/.../wsdl11/allinone/ws_policy/document?sap-client=200
I can replace the url address without problem:
HTTP://public.mycompany.com:8100/.../wsdl11/allinone/ws_policy/document?sap-client=200
But, i don't know how i can change the service location url:
<Soap:address location=http://dev.mycompany.com:8000/... >
We need the location is the public adress like:
<Soap:address location=http://public.mycompany.com:8100/... >
We're working in Netweaver 7.0 SP22 using Trx SOAMANAGER
Thanks in advance,
John.
Hi,
This is not a problem if the adress to call the web service is wrong in the WSDL. Usually it will be wrong, even without a web dispatcher, because the wsd lis usaally generated from the DEV system and the web services are called in the production system.
That is why the runtime configuration has to be done in each system.
Regards,
Olivier
Similar Messages
-
Hello,
We are using Sharepoint 2010 and SQL Server reporting services 2008 R2. We have the sharepoint site bound to port 443 using a certificate. We also have the same certificate bound in the reporting services configuration manager's
web service URL tab. In CA should we put the SSL URL or the non SSL URL? Right now in CA it has the then non SSL URL,
http://fakehostname/ReportServer_REPORTSERVICE. We have some sporadic issues and I am wondering if setting this to our SSL URL will help. Please let me know
if you have any questions.
Thanks,
SeanHi,
Regarding this issue, it should be no issue for setting (https) according :
https://msdn.microsoft.com/en-us/library/bb630447.aspx
https://msdn.microsoft.com/en-us/library/bb677369.aspx
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0ada85b1-e2d2-44a8-8443-74eca74f5745/ssrs-cannot-connect-to-https-sharepoint-2010-401-unauthorized
I notice you mentioned that you have some sporadic issues, what are these issue? If there are errors, please post the detailed information about the errors.
What is the mode type of SQL Server Reporting Service, native mode or SharePoint mode?
The screenshot of the web service URL:
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Could not retrieve the in-memory service URL after starting the in-memory.
A local jvm process is discovered but mission control will not connect.
Both jvm process and mission control are on the same host.
Any suggestion?
Thanks.
This is the mission control help version:
Oracle® JRockit Mission Control 3.1.0 (R27.6.3-40_o, 112101)
I'm running mission control and a jboss web server on jrockit:
$ java -version
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
BEA JRockit(R) (build R27.6.3-40_o-112056-1.6.0_11-20090318-2103-linux-x86_64, compiled mode)
On linux:
$ uname -a
Linux isidore 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux
This is the message that appears in the controlling tty window:
Apr 24, 2009 9:55:43 PM com.jrockit.mc.browser.attach.LocalConnectionDescriptor tryJRCMDStyleStartingOfTheAgent
SEVERE: Could not retrieve the in-memory service URL after starting the in-memory agent!
Apr 24, 2009 9:55:43 PM com.jrockit.mc.browser.attach.LocalConnectionDescriptor tryJRCMDStyleStartingOfTheAgent
Here is the exception in the dialog details:
Could not open Management Console for [1.6] JBoss (5,474).
java.lang.NullPointerException: null
java.lang.NullPointerException
at com.jrockit.mc.rjmx.ConnectionDescriptorToolkit.getHostName(ConnectionDescriptorToolkit.java:152)
at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:521)
at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:144)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:111)
at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:154)
at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:38)
at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)After I posed the above, I saw that the url on the exception is munged.
I didn't stumble over how to manually override that url.
Instead, I added remote jmx capability to the process and added a connector. That is my work around.
Thanks,
John -
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 -
Use Service URL from OWSM Gateway in Service Registry
Hi,
Is there a scenario in which the Service URL from the OWSM gateway is used in the UDDI registry?
Eg:
WebService <--------> OWSM Gateway <----------> OSR (UDDI)
Any information on this is much appreciated
RegardsHi Vikas,
Well..you don't registrate a gateway in uddi.
When you registrate a service in owsm, it will generate a new wsdl for you. This wsdl you just need to registrate in uddi just like any other service with wsdl-interface.
So the authentication fields aren't in uddi configered either...those are just a policy step in owsm. Overthere you can decide how to propegate the values of username/password etc -
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.
-
Web Services URL - Live office connection
Hi,
When I try to give the web service URL as
http://<Server>:<Port>/dswsbobje/services/Session
I get a error saying unable to connect to the server. Any thoughts?
Thanks,
HemaHi,
wgich Version of BO on which OS ?
try
http://server.domain.com:port/dswsbobje/services/session
This is without a capital "S" from "session"
Regards
-Seb. -
Xcelsius for Reporting Services URL
Hi,
I am trying to use sql server reporting services in my Xcelsius project. Configured Xcelsius Gateway Service on the SQL server. Created Data source and report. After this, I was trying to connect to the gateway from xcelsius designer. For this i added a reporting service button. In the button's properties, it asks for 'Xcelsius for Reporting Services URL'. Which URL should be specified here?
Thanks and Regards,
Shyam.The URL is
u201Chttp://servername/xrs/xrs.asmx/GetReportsu201D
But make sure to test the installation, if its working or not. To test it just open a web browser and type the above url. -
Reporting Services URL Problem?
Hi,
I have just installed SQL Server 2012 on my Windows 8 Pro OS. When I tried to browse to the Reporting Service URL it gave this error message :
User 'Abhi\Abhilash DK' does not have required permissions. Verify that sufficient permissions have been granted and Windows User Account Control (UAC) restrictions have been addressed.
Please can anybody help me solve this problemAfter starting IE as admin and opening Report Manager, navigate to "Side settings" (on top right site), then to "Security" and add your account to "System Administrator" role. Afterwards you can open the URL also a normal user.
Olaf Helper
[ Blog] [ Xing] [ MVP] -
Web service URL with multiple parameters
Hi all,
I'm trying to make use of a web service that takes multiple parameters without the use of a proxy (we're using NW 7/7.1 and proxies aren't supported - i.e. i'm getting the same thing as described here: Proxy object to consume web service)
So instead I'm trying to follow a method similar to what is done [here|http://sample-code-abap.blogspot.com/2009/05/simple-code-consume-web-service-using.html]
When I put the web service url into a browser and click on the operation it comes up with
http://portLocation/company/webservice.asmx?op=operation
and comes up with the sample SOAP request and response as normal.
Now with most web services with one parameter, the url translates to something like: http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry?CountryName=australia
Which works fine.
However, the web service i'm using has 4 parameters and when I try and translate my url to be like this (http://portLocation/Company/WebService.asmx/Operation?parameter1=XX¶meter2=XX¶meter3=XX¶meter4=XX) I get, "The page cannot be displayed"
Can anyone suggest a way that I might be able to get around this or what I'm doing wrong.
Thanks in advance.Hi,
are you sure that your Operation is valid? So for example in your [example|http://www.webservicex.net/globalweather.asmx] there are just two operations: [GetCitiesByCountry|http://www.webservicex.net/globalweather.asmx/GetCitiesByCountry] and [GetWeather|http://www.webservicex.net/globalweather.asmx/GetWeather]. You are right about passing multiple parameters. You need to put ? after valid URL and then pairs <name>=<value> separated by &. Don't forget that you need to encode <name> and <value> to avoid problems.
Cheers -
Web Service URL length limits, LV2013 vs LV2012
(* CROSS POST: http://lavag.org/topic/18435-web-service-url-length-limits-lv2013-vs-lv2012/ *)
(* Please reply in this forum. I have marked the other thread to put replies here. *)
Has anyone noticed a reduction to the limit on URL length for Web Services between LV versions 2012 and 2013?
Under LV2012, a RESTful web service appears to accept URL with lengths at least as long as 4096 characters. With LV2013, the max URL length appears to be 511 characters for both RESTful and Project Item web services. Unfortunately for me the project I just converted trips over this issue. My goal with posting this query to here is to improve my understanding of this limitation before I decide how best to modify my code. Certainly using POST rather than GET with a long URL is an option, but again, I'm looking to understand the change in limitation before I choose a solution.
To illustrate I have attached three mostly identical projects which demonstrate the issue. In each case the project contains a webservice consisting of a single VI, "ComputeLength", which takes a String as an input parameter and which outputs the length of the string. The three projects are as follows.
1. LV2012 RESTful web service.
2. LV2013 RESTful web service.
3. LV2013 Project item web service.
The web service contains a single VI. For the RESTful examples, the web service is started by selecting Deploy from the Build specification right click menu. For the Project Item example, the web service is started by selecting Start from the MyComputer/WebService right click menu. The use of this example is demonstrated with the following URL:
(note that the port is 8080 for the two RESTful examples and is 8001 for the Project item web service if used in Debug mode, which is the default for the above instruction.)
http://localhost:8080/webservice/computelength?string=1234567890
And the output looks like this.
<Response>
<Terminal>
<Name>StringLength</Name>
<Value>10</Value>
</Terminal>
</Response>
To see the issue, extend the string parameter such that the URL contains more than 511 characters beyond the port number. For example something like this, http://localhost:8080/webservice/computelength?string=1234567890123456789012345678901234567890....(keep repeating)
For the LV2012 example the string parameter may be at least as long as 4000 characters, which I've demonstrated using Chrome as my browser. For both of the LV2013 examples the URL is limited to 511 characters after the localhost and the port number.
Anyone know whether this is a bug or this is an intentional design change? How about whether the URL length limit is configurable?
I am also consulting NI tech support and will report back their response.
Any advice appreciated.
Thanks,
Martin
Solved!
Go to Solution.
Attachments:
mywebservice.LV2012.RESTful.zip 12 KB
mywebservice.LV2013.RESTful.zip 12 KB
mywebservice.LV2013.ProjectItem.zip 11 KBSolution found. Apparently starting in LV 2013, there is a default limit of 512 to the URL length. The default limit may be overridden as described below.
Martin
This is Brian in Applications Engineering from National Instruments. I am following up regarding the 511 character limit in your Web Service HTTP request following the port number. After some research I've figured out that the issue is related to a default web server setting called "LimitUri," which limits the maximum length of a URL. The default setting is 512 characters which is why we are seeing this issue.
There are multiple ways of changing the URL length limit depending on how you are using your web service. If you are publishing the web service using the Application Web Server then modify "C:\Program Files (x86)\National Instruments\Shared\NI WebServer\NIWebAppServer.conf" and add "LimitUri 4096" to the end of the file without the quotes.
If you are running the Debug Web Server by just clicking start on the web service then modify "C:\Program Files (x86)\National Instruments\LabVIEW 2013\resource\webserver\niwsdebugserver.conf" and add "LimitUri 4096" to the end of the file without the quotes. -
I'm using a .Net based web service to fetch data. The exported XCelsius will be deployed on the customer's environment along with the web service. In that case, the SWF file should connect to web service deployed on my customer site. But, it looks for the hard coded path of the web service. In XCelsius designer, there is no option to pick the web service URL from a cell, as available in the "XML data" button. Is there any other way to pass on the Web Service URL dynamically to the SWF file. Please note, I may use more that one web service connectors in my SWF file.
With regards to the Web Service Connector in CX, you can dynamically set the URL/end point path of the Web Service if you have installed the latest hotfix of CX:
http://support.businessobjects.com/communityCS/FilesAndUpdates/crystal_xcelsius_4.5_hotfix.zip.asp
After, you will see in the properties of the Web Service Connector by tying it to a cell in the speadsheet. -
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 -
Looking for Workflow Service URL in RAR Configuration
We are configuring RAR and are at Workflow step.
Workflow contains four sections:
1. Risk maintenance
2. Mitigation Control Maitenance
3. Mitigation
4. Workflow Service URL.
We are stuck at the fourth step, Workflow Service URL (This Web service URL is used to submit workflow requests to Compliant User Provisioning) and are not able to trace the URL in configuration guide.
Can anyone help me in providing the link for the URL
Regards-
ShubhiHi,
It's correct that the WS is the same for both 5.2 and 5.3.
You can get the URL by opening http://host:port/wsnavigator.
Expand AEWFRequestSubmissionService_5_2 and click on document.
//Vit -
Item Category Determination for Service Agreement
Hi,
Which Item Category can be used for the Determination of Service Agreement.
Thanks & Regards,Hi,
Thanks for your response,
Infact i had problem with the certain fields which were not displayed.
Regards,
Maybe you are looking for
-
Report for extracting the actual and planned cost from service orders
HI all we are creating a report in BI for Module - Customer service . LIke , the report is all about how many complaints created in the system and how many completed technically and what is the cost involved for each complaint . Like we want the comp
-
I need a work calendar that is not synced to the one on the screen
I need another calendar on my Iphone 4 front screen that is not syced to the standard calendar. I caretake a multiuse centre and need to record bookings. I tried downloading an app but as good a calendar as it was it was sycnced the calendar already
-
When I run disk permissions, I get Group differs on "Private/etc/cups" , should be 0, group is 26. Repairing gives the same error. Is this a problem, How do I fix it. I am running latest updates.
-
String - replaceAll / with // 's
hello fellow java developers! Im having some trouble, and it seems retarded. I have a String in the format "aaa/bbb/ccc/ddd" and I want to convert it to the format "aaa//bbb//ccc//ddd" I tried strPath = strPath.replace("\\", "\\\\"); - but its giving
-
HT2534 i am not getting "none" option while creating an apple id without using credit card.
i am not getting "none" option while creating an apple id without using credit card.