Web Service wdsl file getting generated as a HTTPS protocol instead of HTTP
Hi Experts,
I have a requirement
I have created a web service in development client which is used in interactive adobe form.
After moving the web service to production only defination is getting generated.
I have tried to manually create the service in SOAMANAGER , it is getting created as with https protocol.
In development client it was created as a http protocol.
Warm Regards
Abhinav
Hi Abhinav,
I'm assuming you don't have a QA system in your landscape if you're transporting straight from Dev to Production. I'm also assuming this because if you transported to QA before production you would have noticed that 'only' the definition is always transported. You have to do the configuration again each time you transport your change, this is SAP default behaviour because each webservice is client dependant so SAP won't know which client this service will be relevant for in the environment you're transporting to.
The HTTPS issue, this makes sense to me in the production environment. You don't normally have the HTTP protocol enabled in a production environment, only HTTPS for security reasons.
In yout production environment, check Transaction Code SMICM --> Got (drop down menu) --> Services
Check what protocols are active there (with a green tick). This will indicate whether the HTTP protocol in enabled in Prod or not.
Regards, Trevor
Similar Messages
-
Why i am I getting Error (5,8) TestCas for a Web Service Test File Generate
why i am I getting the following error for a Web Service Test File Generated by jdeveloper when i run it:
Error (5,8) TestCase not Found
Error(12,14):constructor Object(java.lang.String) not found in java.lang.Objectactually i removed that error by added the junit.jar to my libraries but i am getting a new error when accessing the webservice with a Jdev generated web service proxy:
WARNING: Unable to connect to URL: https://mytest.test.com/WebService/MyTest_1.0/soap.soap due to java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
java.rmi.RemoteException: ; nested exception is:
HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11977)
at project7.proxy.MyTestClient.echoOfficeLocation(MyTestClient.java:1276)
at project7.proxy.MyTestClient.main(MyTestClient.java:38)
Caused by: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Connection refused: connect
at oracle.j2ee.ws.client.http.HttpClientTransport.invokeImpl(HttpClientTransport.java:174)
at oracle.j2ee.ws.client.http.HttpClientTransport.invoke(HttpClientTransport.java:150)
at oracle.j2ee.ws.client.StreamingSender._sendImpl(StreamingSender.java:176)
at oracle.j2ee.ws.client.StreamingSender._send(StreamingSender.java:113)
at project7.proxy.runtime.MyTestSoapBinding_Stub.echoOfficeLocation(MyTestSoapBinding_Stub.java:11961)
... 2 more
Process exited with exit code 0.
looks like something to do with the certificate or keystore... how do you add the keystore to JDev.. i tried the JDK cacert but that doesnt work... -
Merging web-services.xml files
Good day,
Is there an easier way to merge a custom web-services.xml file with the
one generated by servicegen? It makes it very difficult to have a clean
build when you have to go in and edit the web-services.xml to add your
own types.
Thanks,
SeanThis is no good tool to merge web-services.xml.
You can run servicegen once and get the web-services.xml file, then modify
it as you need.
In your automatic build process, run autotype, then use wspackag to package
your customized web-services.xml.
Thanks,
-Neal
"Sean Garagan" <[email protected]> wrote in message
news:[email protected]..
Good day,
Is there an easier way to merge a custom web-services.xml file with the
one generated by servicegen? It makes it very difficult to have a clean
build when you have to go in and edit the web-services.xml to add your
own types.
Thanks,
Sean -
Urgent!! PL/SQL web service can not get output param in BPEL
OC4J 10.1.2 generate PL/SQL web service can not get output param can not get output param in BPEL when call a pl/sql webservice.
wsdl as follow:
<types>
<schema targetNamespace="http://db.func.getqf/COMMON.xsd" xmlns:tns="http://db.func.getqf/COMMON.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<complexType name="db_func_getqf_COMMONUser_getqf_Out">
<all>
<element name="pnqfysOut" type="xsd:decimal"/>
<element name="pnzqfOut" type="xsd:decimal"/>
</all>
</complexType>
</schema>
</types>
<message name="getqfOutput">
<part name="return" type="xsd1:db_func_getqf_COMMONUser_getqf_Out"/>
</message>the wsdl which generate by OC4J is as follows:
<?xml version="1.0" ?>
- <definitions name="COMMON" targetNamespace="http://db.func.getqf/COMMON.wsdl" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://db.func.getqf/COMMON.wsdl" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd1="http://db.func.getqf/COMMON.xsd">
<documentation>WSDL for Service: COMMON, generated by Oracle WSDL toolkit (version: 1.1)</documentation>
- <types>
- <schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://db.func.getqf/COMMON.xsd" xmlns:tns="http://db.func.getqf/COMMON.xsd" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <complexType name="db_func_getqf_COMMONUser_getqf_Out">
- <all>
<element name="pnqfysOut" type="xsd:decimal" />
<element name="pnzqfOut" type="xsd:decimal" />
</all>
</complexType>
</schema>
</types>
- <message name="getqfOutput">
<part name="return" type="xsd1:db_func_getqf_COMMONUser_getqf_Out" />
</message>
- <message name="getqfInput">
<part name="param0" type="xsd:string" />
</message>
- <portType name="COMMONPortType">
- <operation name="getqf">
<input message="tns:getqfInput" />
<output message="tns:getqfOutput" />
</operation>
</portType>
- <binding name="COMMONBinding" type="tns:COMMONPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="rpc" />
- <operation name="getqf">
<soap:operation soapAction="urn:db-func-getqf-COMMON/getqf" />
- <input>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:db-func-getqf-COMMON" />
</input>
- <output>
<soap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:db-func-getqf-COMMON" />
</output>
</operation>
</binding>
- <service name="COMMON">
- <port name="COMMONPort" binding="tns:COMMONBinding">
<soap:address location="http://localhost:9700/plsqlgetqf/getqf" />
</port>
</service>
</definitions> -
Axis - Web service is not getting deployed on https
I am using axis api for creating web service and Tomcat to deploy it. When I deploy the web service first time, it works perfectly, but If I upgrade my web
application, the server-config.wsdd file gets deleted from WEB-INf directory of my web application.
If I try to deploy the web service again, it does not get deployed on https, but on http it gets deployed. I am using following commands to deploy the web
service:
On HTTPS:
java -Djavax.net.ssl.keystore=/root/.keystore -Djavax.net.ssl.keyStorePassword=password org.apache.axis.client.AdminClient -lhttps://localhost/serviceURL
deploy.wsdd
HTTP:
java org.apache.axis.client.AdminClient -lhttp://localhost/serviceURL deploy.wsdd
When I deploy the web service on http, the server-config.wsdd file gets created automatically and the web service gets deployed, but the problem is on https.
Web service does not gets deployed on https and the server-config.wsdd file is not created. Even if I create the server-config.wsdd file manually, the web
service does not get deployed on https. Once I deploy the web service on http, I am able to deploy it on https.
Please help resolving the issue. Thanks.Hi Reema,
Thanks for your reply.
But here I am not doing replication, I am working on initial upload of vendor master.
For all the standard fields its working fine.
but we have some 'Z' fields so I enhanced the web service with 'Z' fields after that I am not able to save and activate the web service.
Please find above screenshot for error.
Please let me know if I am missing some setting or anything.
Thanks,
Sudhir -
Dashboards web service config file set up
I am new to dashboards and want to understand, how do we make a web service connection to the dashboard?
We previously had the web services set up and never got a chance to set it up, but now there is a need to set it up in our own machines.
The issue exactly being faced right now is:
we tried setting up the web service config file and it works when we execute it ( i.e. I get a URL) but it comes as
http://localhost:2910/QueryService.asmx
which we tried using as " http://localhost:2910/QueryService.asmx?wsdl " in the dashboard connection manager and i am able to get the methods (runSQLQuery etc).
When trying to see the dashboard in the bo Infoview, we get the below error:
To access external data, add a Cross Domain policy file to the external data web server.
Please help me in understanding the issue and significance of all these things.
Any help would be appreciated.
Thanks,
KhushbooFirst of all change localhost to proper host name or IP address in connection.
You need to place crossdomain policy file in the root of the web server. Please check this for details:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40c58930-c78f-2f10-cf82-8b90999065cc?overridelayout=t…
http://www.adobe.com/devnet/flashplayer/articles/cross_domain_policy.html -
Hi,
We have PI 7.1 installed in landscape. Some trace files getting generated at
server\sapmnt\SID\DVEBMGS01\j2ee\cluster\server0\jrfc07500_06148.trc and utilizing more disk space aroung 1 GB.
Could you please let me know from where trace can be disabled
thanksHi Yash,
Please find the details on this link:
http://help.sap.com/saphelp_nw04/Helpdata/EN/f6/daea401675752ae10000000a155106/content.htm
name
jrfc*.trc
location
directory j2ee/cluster/server* or defined path
how to switch on and off set JVM options for the server via the Config Tool and restart server: -Djrfc.trace=0/1, -Djco.trace_path=[defined_path]
Kindly let us know if this resolves the problem.
Thanks.
Regards,
Shweta -
(261936172) Q general Where are the Web Service source files?
Q <general> Where are the source files for a Web Service created
with WebLogic Workshop stored? How do I deploy the Web Service
on a different WebLogic Server? Is there a way to bundle the
Web Service project files manually to distribute them?
Is there a way to configure the directory where Workshop stores
the files?
ANSWER: (by Adam Fitzgerald, [email protected]) The .jws files are stored
in the project folder. This can be located on a local system, although by default
they are in c:\bea\wlserver700b\sample\workshop\applications. The Web Service
structure is understood by WLS 7.0 so by archiving the appropriate folder you
can transfer the Web Service in its entirety from one deployment to another.Hi Dean,
In SharePoint 2013 Designer, the help files are online. They provide tons of general information regarding SharePoint Designer 2013. You can also find help files at:
http://technet.microsoft.com/en-us/library/jj219638%28office.15%29.aspx .
And find a great set of information on SPD 2013 and the new Workflow architecture here:
http://msdn.microsoft.com/library/office/jj163986(v=office.15)
More information, please refer to the link:
http://blogs.msdn.com/b/sharepointdesigner/archive/2012/08/07/welcome-to-sharepoint-designer-2013-customer-preview.aspx
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
You will be greatly appreciated if you can help me on following question:
In a web service mapping file, under <java-xml-type-mapping> element, either <anonymous-type-qname> or <root-type-qname> is valid element according to schema. My question is which one should be used under which situation?
Thanks,
Michael
===========
Mapping file
===========
<java-wsdl-mapping xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_jaxrpc_mapping_1_1.xsd"
version="1.1">
<package-mapping>
<package-type>test</package-type>
<namespaceURI>http://test/</namespaceURI>
</package-mapping>
<java-xml-type-mapping>
<java-type>test.Status</java-type>
<anonymous-type-qname>{http://test/}Status</anonymous-type-qname>
<qname-scope>complexType</qname-scope>
==========
Schema
==========
<xsd:sequence>
<xsd:element name="java-type" type="j2ee:java-typeType">
<xsd:annotation>
<xsd:documentation>The java-type element is the fully qualified class name of a Java class, primitive, or array type.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<choice>
<xsd:element name="root-type-qname" type="j2ee:xsdQNameType"> <xsd:annotation>
<xsd:documentation>The root-type-qname identifies the WSDL QName of an XML type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="anonymous-type-qname" type="j2ee:string">
<xsd:annotation>
<xsd:documentation>The anonymous-type-qname identifies the WSDL QName of an anonymous XML type.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</choice>I am stuck here with the same problem - don't know what to do with the (required) Mapping File.
Has anyone found out?
Please let me know.
Best,
Philipp
[email protected] -
We are using the Azure server for our web services. Server is generating an error "Unable to connect to the remote server". What is this error means
Hello,
Did you means that you use the Windows Azure Virtual Machine DNS name as the server name in the Reporting Server Web Services URL?
For example:
Report server:http://uebi.cloudapp.net/reportserver
Report manager:http://uebi.cloudapp.net/reports
If you want to connect to Report Manager on the virtual machine from a remote computer, you should create a virtual machine TCP Endpoint and open the port in the virtual machine’s firewall. By default, the report server listens for HTTP requests
on port 80.
Reference:http://msdn.microsoft.com/en-us/library/jj992719.aspx#bkmk_ssrs_connect_2_remote_RM
Regards,
Fanny Liu
Fanny Liu
TechNet Community Support -
Hello everyone. I am having trouble writing a utility that uses SharePoint web services to upload a file and metatag it. It keeps throwing the following error message:
"The request failed with the error message: -- <html><head><title>Object moved</title></head><body> <h2>Object moved to <a href="/_forms/default.aspx?ReturnUrl=%2fsites%2fgk%2f_vti_bin%2fcopy.asmx">here</a>.</h2>
</body></html> --."
Not sure why. I pass the file that I am going to upload to the subroutine and it is suppose to upload it to the appropriate library. I have burned several days on this problem and I am not sure what is going on. I would appreciate anyone that can point me in
the right direction. Below is the subroutine that I have that is causing the problem. Obviously, I have stripped the name from the example.
Thanks
Mike
******** <Begin snip of code> **********************
Public Shared Sub CreateNewDocumentWithCopyService(ByVal fileName As String)
Dim c As New copyservice.Copy
c.PreAuthenticate = True
c.Credentials = New System.Net.NetworkCredential("[email protected]", "mypassword")
c.Url = "https://x.sharepoint.com/sites/gk/_vti_bin/copy.asmx"
Dim myBinary As Byte() = System.IO.File.ReadAllBytes(fileName)
Dim destination As String = "https://x.sharepoint.com/sites/gk/Gatekeeper%20Reference/" & System.IO.Path.GetFileName(fileName)
Dim destinationUrl As String() = {destination}
Dim info1 As New copyservice.FieldInformation
info1.DisplayName = "Title"
info1.InternalName = "Title"
info1.Type = copyservice.FieldType.Text
info1.Value = "new title"
Dim info2 As New copyservice.FieldInformation
info2.DisplayName = "Modified By"
info2.InternalName = "Editor"
info2.Type = copyservice.FieldType.User
info2.Value = "-1;#servername\\testmoss"
Dim info As copyservice.FieldInformation() = {info1, info2}
Dim resultTest As New copyservice.CopyResult
Dim result As copyservice.CopyResult() = {resultTest}
Try
' When creating new content use the same URL in the SourceURI as in the Destination URL argument
c.CopyIntoItems(destination, destinationUrl, info, myBinary, result)
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
******** <End snip of code> **********************Hi,
If you want to upload a file to a library in SharePoint 2013 online, I suggest you use Client Object Model or REST API.
The code snippets in the two threads below will be helpful:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/deac7cb7-c677-47b0-acdc-c56b32dfaac8/uploading-bigger-files-using-csom
http://stackoverflow.com/questions/17057074/how-to-download-upload-files-from-to-sharepoint-2013-using-csom
Uploading Files Using the REST API
http://blogs.msdn.com/b/uksharepoint/archive/2013/04/20/uploading-files-using-the-rest-api-and-client-side-techniques.aspx
You can handle the authentication with
SharePointOnlineCredentials object:
http://www.vrdmn.com/2013/01/authenticating-net-client-object-model.html
Best regards
Patrick Liang
TechNet Community Support -
How to change the web service address of NetBeans generated WS client
I am currently experimenting with web services using netbeans and Sun Application Server.
Basically I am creating simple web services using net beans and then deploy them on the app server and then create another pfoject with web service reference to that web service to invoke the service.
My problem is when a project is deliverd to the production site the the client applications web service reference will need to be configured to refer to the production web service address. But when I looked at the generated web service client code the address is hard coded.
How can I change the address to the web service of a web service reference created in net beans either using some configuration file (without having to recompile the client) or at runtime.
Thanks in advancebump...
-
Web Service WSDL File Generation
hello everybody, I have an outbound interface with sender soap adapter to work as a web service, I tested it by generating the wsdl file in the integration directory, and I tested it with altova xmlspy and it works really fine, but now I have a problem another aplication needs to call the webservice, but when they try to import the wsdl file it turns out that in their system they can only import rpc files and not document style files, is there a way to generate a RPC file from an xi interface, or is there a third tool to do this conversion, or what needs to be done, has anyone found this problem before??? thanks in advance.
Regards,
Julio CesarHi ,
As far as I am aware of ...
3 SOAP encoding styles are there :
SOAP Remote Procedure Call (RPC) encoding, also known as Section 5 encoding, as defined by the SOAP 1.1 specification and later defined in SOAP 1.2 as RPC encodings and conventions
SOAP Remote Procedure Call Literal encoding (SOAP RPC-literal,) uses RPC methods to make the call but uses an XML do-it-yourself method for mar-shaling the data.
SOAP document-style encoding, also known as message-style or document-literal encoding.
Kindly Check this Link out
http://msdn.microsoft.com/msdnmag/issues/03/05/XMLFiles/ -
Trouble compiling web service client file
Hi,
I am trying to deploy a test web services implementation on JBoss 3.2.1 and Axis 1.1RC2. The problem is, I cannot even compile my client code (the one that invoke the web services)...it seems that the java compiler cannot locate the following packages:
import org.apache.axis.client.Call;
import org.apache.axis.client.Service;
import javax.xml.namespace.QName;
even though I have set my classpath (in the environment var part of my Win2k box) to: C:\axis-1_1RC2\lib\axis.jar;C:\axis-1_1RC2\lib\jaxrpc.jar;C:\axis-1_1RC2\lib\saaj.jar;C:\axis-1_1RC2\lib\commons-logging.jar;C:\axis-1_1RC2\lib\commons-discovery.jar;C:\axis-1_1RC2\lib\wsdl4j.jar;C:\axis-1_1RC2\lib\;C:\axis-1_1RC2\[rest of classpath truncated]
Has anyone experienced something similar? I'll award Duke dollars to the first person getting the right solution. Thanks!
Here are the error messages:
C:\web_clients>javac DataUserClient.java
DataUserClient.java:1: package org.apache.axis.client does not exist
import org.apache.axis.client.Call;
^
DataUserClient.java:2: package org.apache.axis.client does not exist
import org.apache.axis.client.Service;
^
DataUserClient.java:3: package javax.xml.namespace does not exist
import javax.xml.namespace.QName;
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:26: cannot resolve symbol
symbol : class Service
location: class DataUserClient
Service myWebServ= new Service(url, "StandardPersonData");
^
DataUserClient.java:27: cannot resolve symbolHi,
I had the same problem with my client too. The problem is with your classpath. You have to set it at the command prompt as well as editing the setclasspath.bat file. The full path to where you libs are stored is required. eg:
set classpath=%classpath%;C:\axis-1_1\lib\axis.jar;C:\axis-1_1\lib\jaxrpc.jar...etc
I tried to set the classpath using %axisDirectory%\lib\axis.jar ...etc but it didnt work for whatever reason. The above method seems to eliminate all errors. At the moment im just running axis 1.1 under tomcat 4.1.
Hope that helps :-) -
Dear all,
I have some files (50 files).
if web service have a service flollowing:
upload (String fileName,byte[] content);
But if file more than 10M, how to upload to web service.
Please show me a solution to upload 50 files or more with web service.
Thank and regards.It looks like you just invoke that method with an array of bytes. If you have 50 files, do it 50 times (say, in a loop). You can get the array of bytes with a FileInputStream and a ByteArrayOutputStream, but I'll bet something in the java.nio package can do it more smoothly. (Check the docs; your googling will be as good as mine for that part.)
The details will depend a lot on the web service itself; for that, talk to the provider of the service.
Maybe you are looking for
-
Memory upgrade on a Elite 8740W
Hi, I want to know on a Elite 8740W can you just add a 2G ram on it when it has a 2G already? on the spec sheet it says there is only one memory slot does that mean I've to throw away the 2G and buy a 4G? Thanks
-
Hi I get the following error in my crawl logs "Error while crawling LOB contents. ( Error caused by exception: Microsoft.BusinessData.Infrastructure.BdcException The shim execution failed unexpectedly - The method or operation is not implemented..;
-
hi is there any one who has experienced the cluster creation on two or more desktop PCs conenctd with each other using simple network wihtout any external storage disk array (Using normal hard disks found in PCs) is it possible? if yes then can anyon
-
Replacement for xilisoft dvd creator
Does anyone know if there is a good DVD Creator package in the app store that doesn't require X-11? I just bought Xilisoft's DVD Creator 7.x and halfway through the creation it aborted and told me to install X-11. After doing some reasearch it seems
-
After upgrading to latest, FF icons and dialogues are tiny.
Website text and rendering seems normal, only FF icons, dialogues, and text is small.