cancel
Showing results for 
Search instead for 
Did you mean: 

Web service wizard generates damaged wsdl ?

Former Member
0 Kudos

Hi,

I have defined a SOAP->RFC scenario, and generated a wsdl file using the configuration web service wizard.

When I try to test the WS with the WAS Web Service Navigator test tool, I get the following error:

<i>Cannot download WSDL from http://host:port/wsdl/GetPersonsUnderOrgUnit.wsdl: Compilation fails... CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\Message.java:17: class MESSAGE is public, should be declared in a file named MESSAGE.java public class MESSAGE extends com.sap.engine.services.webservices.jaxrpc.encoding.primitive.StringSD { ^ C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\Number.java:17: class NUMBER is public, should be declared in a file named NUMBER.java public class NUMBER extends com.sap.engine.services.webservices.jaxrpc.encoding.primitive.StringSD { ^ C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\ZRFC_GET_OBJECTS_FROM_ROOTSException.java:158: cannot access test.types.Message bad class file: C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\Message.java file does not contain class test.types.Message Please remove or make sure it appears in the correct subdirectory of the classpath. private test.types.Message fMessage; ^ 3 errors</i>

Any ideas ?

The wsdl is generated by the wizard, so how could it be damaged ?

And here is my wsdl, in case you want to check it:

<i><?xml version="1.0" encoding="UTF-8"?>

<wsdl:definitions name="GetPersonsUnderOrgUnit" targetNamespace="urn:DE-SAP" xmlns:p1="urn:DE-SAP" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><wsdl:types><xsd:schema targetNamespace="urn:DE-SAP" xmlns="urn:DE-SAP" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><xsd:element name="ZRFC_GET_OBJECTS_FROM_ROOTS.Exception"><xsd:complexType><xsd:sequence><xsd:element name="Name"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:enumeration value="NO_OBJECTS_FOUND" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="Text" type="xsd:string" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="Message" minOccurs="0"><xsd:complexType><xsd:sequence><xsd:element name="ID"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="Number"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:pattern value="d" /><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="Attributes" minOccurs="0"><xsd:complexType><xsd:sequence><xsd:element name="V1" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="V2" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="V3" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="V4" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:element></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="ZRFC_GET_OBJECTS_FROM_ROOTS.Response"><xsd:complexType><xsd:all><xsd:element name="KEYOBJEC" minOccurs="0"><xsd:complexType><xsd:sequence><xsd:element name="item" type="HRWPC_S_KEYOBJEC" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="KEYSTRUC" minOccurs="0"><xsd:complexType><xsd:sequence><xsd:element name="item" type="HRWPC_S_KEYSTRUC" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence></xsd:complexType></xsd:element><xsd:element name="RETURN" minOccurs="0"><xsd:complexType><xsd:sequence><xsd:element name="item" type="BAPIRET2" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence></xsd:complexType></xsd:element></xsd:all></xsd:complexType></xsd:element><xsd:element name="ZRFC_GET_OBJECTS_FROM_ROOTS"><xsd:complexType><xsd:all><xsd:element name="BEGDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="DEPTH" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:decimal"><xsd:totalDigits value="5" /><xsd:fractionDigits value="0" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ENDDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="LEVEL" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="OBJECTS_FM" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="30" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="PATHID"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="8" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="PLVAR" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ROOT_OBJECT"><xsd:complexType><xsd:sequence><xsd:element name="item" type="HRROOTOB" minOccurs="0" maxOccurs="unbounded" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /></xsd:sequence></xsd:complexType></xsd:element></xsd:all></xsd:complexType></xsd:element><xsd:complexType name="HRWPC_S_KEYOBJEC"><xsd:sequence><xsd:element name="OBJ_KEY" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /><xsd:pattern value="\d" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="PLVAR" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="OTYPE" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="OBJID" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="8" /><xsd:pattern value="\d" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="BEGDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="ENDDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="ISTAT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="HISTO" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SHORT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="12" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="STEXT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="40" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="REALO" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="45" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType><xsd:complexType name="HRROOTOB"><xsd:sequence><xsd:element name="OTYPE" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="OBJID" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="45" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType><xsd:complexType name="BAPIRET2"><xsd:sequence><xsd:element name="TYPE" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ID" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="NUMBER" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /><xsd:pattern value="\d" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESSAGE" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="220" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="LOG_NO" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="20" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="LOG_MSG_NO" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /><xsd:pattern value="\d" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESSAGE_V1" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESSAGE_V2" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESSAGE_V3" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="MESSAGE_V4" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="50" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="PARAMETER" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="32" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="ROW" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="FIELD" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="30" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SYSTEM" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="10" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType><xsd:complexType name="HRWPC_S_KEYSTRUC"><xsd:sequence><xsd:element name="STRUC_KEY" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="6" /><xsd:pattern value="\d" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SEQNR" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="LEVEL" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="OTYPE" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="OBJID" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="45" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="PDOWN" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="DFLAG" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VCOUNT" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="PNEXT" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="PUP" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="PPREV" type="xsd:integer" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="VRSIGN" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VRELAT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VPRIOX" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VISTAT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VBEGDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="VENDDA" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="VPROZT" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:decimal"><xsd:totalDigits value="5" /><xsd:fractionDigits value="2" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VADATA" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="600" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SUBRC" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:decimal"><xsd:totalDigits value="3" /><xsd:fractionDigits value="0" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="RFLAG" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="SBEGD" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="SENDD" type="xsd:date" minOccurs="0" xmlns:xsd="http://www.w3.org/2001/XMLSchema" /><xsd:element name="VSIGN" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="1" /></xsd:restriction></xsd:simpleType></xsd:element><xsd:element name="VSEQNR" minOccurs="0"><xsd:simpleType><xsd:restriction base="xsd:string"><xsd:maxLength value="3" /><xsd:pattern value="\d+" /></xsd:restriction></xsd:simpleType></xsd:element></xsd:sequence></xsd:complexType></xsd:schema></wsdl:types><wsdl:message name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Input"><wsdl:part name="parameters" element="p1:ZRFC_GET_OBJECTS_FROM_ROOTS" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:message><wsdl:message name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Output"><wsdl:part name="parameters" element="p1:ZRFC_GET_OBJECTS_FROM_ROOTS.Response" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:message><wsdl:message name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Exception"><wsdl:part name="parameters" element="p1:ZRFC_GET_OBJECTS_FROM_ROOTS.Exception" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:message><wsdl:portType name="GetPersonsUnderOrgUnit"><wsdl:operation name="GetPersonsUnderOrgUnit"><wsdl:input message="p1:p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Input" /><wsdl:output message="p1:p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Output" /><wsdl:fault name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Exception" message="p1:p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Exception" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" /></wsdl:operation></wsdl:portType><wsdl:binding name="GetPersonsUnderOrgUnitBinding" type="p1:GetPersonsUnderOrgUnit" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:operation name="GetPersonsUnderOrgUnit"><soap:operation soapAction="http://sap.com/xi/WebService/soap1.1" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /><wsdl:input><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:input><wsdl:output><soap:body use="literal" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:output><wsdl:fault name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Exception"><soap:fault use="literal" name="p1.ZRFC_GET_OBJECTS_FROM_ROOTS.Exception" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:fault></wsdl:operation></wsdl:binding><wsdl:service name="GetPersonsUnderOrgUnitService"><wsdl:port name="GetPersonsUnderOrgUnitPort" binding="p1:GetPersonsUnderOrgUnitBinding" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=:DE_WS_Consumer:GetPersonsUnderOrgUnit&version=3.0&Sender.Service=x&Interface=x%5Ex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" /></wsdl:port></wsdl:service></wsdl:definitions></i>

Thanks,

Elad.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

I've found the source of the problem.

The problem was caused due to several elements having the same name (For example the MESSAGE, NUMBER elements occured in several nodes with the same name)

Even though they had different case state, and path.

Thank you all.

Elad.

Former Member
0 Kudos

Hi,

Are you using XML Schemas in this particular sinario or created Datatype and message types.... if you are using XML schemas then the problem resides there...

Amaresh

Former Member
0 Kudos

Hi Amaresh,

My scenario is as follows:

In the IR, I have imported an RFC definition, and defined a message interface suitable to the RFC's message types.

In the ID, I have defined a SOAP -> RFC scenario, using that message interface and the RFC.

Afterwards, I have generated a wsdl, using the wizard.

Where exactly in that process, could the problem occur ?

Thanks,

Elad.

Former Member
0 Kudos

Elad,

Looks like there is problem in WSDL generation. The actual problem is soap: address location field value should be encoded. So, inside the soap:address location, replace & with its encoded value which is &amp; and try, it should work now.

replace & with &amp;

--Archana

Former Member
0 Kudos

Hi,

If you ment to change the <i>"&amp"</i> expression with "&", I tried that, and it didn't work.

If you ment something else, please explain.

Thanks,

Elad.

Message was edited by:

Elad Saar

Former Member
0 Kudos

No change "&" with "&amp;"

Former Member
0 Kudos

Hi Archana,

Please take a look at the above question.

Elad.

Former Member
0 Kudos

whats ur email? I'm posting different and i'm seeing here different. may be internet explorer is encdoing it.

let me send u an email...give me ur email

Former Member
0 Kudos

saarelad922@bezeqint.net

Thanks,

Elad.

Former Member
0 Kudos

Hi Archana,

It seems like the wsdl already contains the <i>&amp</i> expression.

The problem is that the wsdl's syntax is actually valid, but the WS test tool cannot process it.

Any other ideas ?

Thanks again.

Elad.

former_member181959
Contributor
0 Kudos

hi,

i mean there is some problem in the URI in the<soap:address>.

when i tried to open that in editor its saying that

<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=:DE_WS_Consumer:GetPersonsUnderOrgUnit&version=3.0&Sender.Service=x&Interface=x%5Ex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />

"URI in the tag is not valid". and its pointing to '&' symbol. so check that u have the same '&' symbol in all other WSDL which are woking fine that u said.

kvr

Former Member
0 Kudos

Hi Kori.

I have checked other files, and they all contain the same URI with the '&' symbol.

Any other ideas ?

Thanks,

Elad.

former_member181959
Contributor
0 Kudos

hi,

i guess there is some problem in the tag

<soap:address location="http://host:port/XISOAPAdapter/MessageServlet?channel=:DE_WS_Consumer:GetPersonsUnderOrgUnit&version=3.0&Sender.Service=x&Interface=x%5Ex" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" />

vth '&' sysmbol. check that out.

regards,

kvr

Former Member
0 Kudos

Hi,

The <soap:address> tag is a standard tag that occurs in the same format in each and every wsdl file the wizard generates.

I have several other SOAP -> RFC scenarios that were created in the same way and they work just fine.

On my opinion there is a specific problem with the data structure but I can't seem to find it.

Any other ideas ?

Elad.

Former Member
0 Kudos

Elad,

If we see the error message it says:

Cannot download WSDL from http://host:port/wsdl/GetPersonsUnderOrgUnit.wsdl: Compilation fails... CompilerOracle: exclude com/sapportals/portal/pb/layout/taglib/ContainerTag addIviewResources CompilerOracle: exclude com/sap/engine/services/keystore/impl/security/CodeBasedSecurityConnector getApplicationDomain CompilerOracle: exclude com/sap/engine/services/rmi_p4/P4StubSkeletonGenerator generateStub CompilerOracle: exclude com/sapportals/portal/prt/util/StringUtils escapeToJS CompilerOracle: exclude com/sapportals/portal/prt/core/broker/PortalServiceItem startServices CompilerOracle: exclude com/sap/engine/services/webservices/server/deploy/WSConfigurationHandler downloadFile CompilerOracle: exclude com/sapportals/portal/prt/jndisupport/util/AbstractHierarchicalContext lookup C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\Message.java:17: class MESSAGE is public, should be declared in a file named MESSAGE.java public class MESSAGE extends com.sap.engine.services.webservices.jaxrpc.encoding.primitive.StringSD { ^ C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\Number.java:17: class NUMBER is public, should be declared in a file named NUMBER.java public class NUMBER extends com.sap.engine.services.webservices.jaxrpc.encoding.primitive.StringSD { ^ C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types\ZRFC_GET_OBJECTS_FROM_ROOTSException.java:158: cannot access test.types.Message bad class file: C:\usr\sap\XIT\DVEBMGS60\j2ee\cluster\server0\apps\sap.com\com.sap.engine.services.webservices.tool\servlet_jsp\wsnavigator\root\WEB-INF\temp\ws1168438404109\proxy\test\types<b>\Message.java file does not contain class test.types.</b>Message Please remove or make sure it appears in the correct subdirectory of the classpath. private test.types.Message fMessage; ^ 3 errors

In the error message I have bolded the missing class file. Please check whether the defined class is their in the specified locaiton or not. If not their please keep the file and try out once again?

---Satish

Former Member
0 Kudos

Hi Satish,

I didn't understand what exactly you are suggesting.

Could you please explain your solution suggestion ?

Thanks,

Elad.

Former Member
0 Kudos

Elad,

The error says it does not have a class test.types. Can you see where it is used and check whether it is present or not?

---Satish