WSDL portType not have child Policy

Hi,
I am getting the following error when trying to test the webservice through wsnavigator.
"Cannot download WSDL from http://SOLAR-DEV:8001/sap/bc/srt/wsdl/sdef_ZWEBTEST/wsdl11/ws_policy/document?sap-client=001: WSDL 'portType' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' ! "
What is the wsp:Policy? Let me know how to solve it.
Thanks & Regards,
Dhanunjaya Reddy

Follow these steps-
(I) Checking Domain name of WSDL
a) Open SOAMANAGER and navigate to "Business Administration" tab.
b) Click on "Web Service Administration" link
c) In "Search Pattern" search for your Webservice and click on "GO".
d) Select the line and click "Apply Selection" button
e) The details of your service definition is displayed. Click on "Open WSDL document for selected binding" link.
f) Copy the URL. Make a special note of your domain Name. Eg: "http://xxxxx.com:"
(II) Checking J2EE setting in SOAMANAGER
a) Go back to your SOAMANAGER home page by clicking "Back" link.
b) Select "Technical Configuration" Tab and click on "System Global Settings".
c ) Select "Access Information J2EE server" Tab and note down your J2EE host settings.
Note: If there are no J2EE host settings, then you probably get them from your BASIS team. Once you get the details, save the host settings.
(III) Clearing the WSDL Port Type error
a) Follow steps (a) thru (d) in Part I and click on 3rd link- "Open Web Service navigator for selected binding".
b) Now your WS Navigator is open. Your work starts here. Provide the WSDL URL from Part (I).f step when asked for "Enter the WSDL URL of the Web service:". Click "Next" button.
Possible outcomes-
i) Overview page of your Webservice is seen. In this case you can click on "Test" link on top and continue ... OR
ii) You get a error page namely-
Cannot download WSDL from http://xxxx.com:Port#.
If this is the case, then you need to provide the domain name noted down in PART I- step (f). and hit <Enter> This will open up the Overview page of your Webservice!
Happy Troubleshooting!

Similar Messages

  • WSDL 'portType' can not have child 'wsp:Policy' of

    hi experts,
    I get this error message. What is wrong can you give me pls. an advice
    to solve this problem.
    Cannot download WSDL from http://treman:8000/sap/bc/srt/
    wsdl/bndg_DDBAF5E4EC01D5F193F7000C29210034/wsdl11/allinone/ws_policy/document?sap-client=100:
    WSDL 'portType' can not have child 'wsp:Policy' of namespace 'http://schemas.xmlsoap.org/ws/2004/09/policy' !

    Dear SAP User and Developer,
    are you saying there is no other possibility to change the the port type besides
    the way with using "standard" instead of "ws_policy" in the URL.
    I think there must be existing another solution.

  • Error if I add 2 WebServices in a Process - WSDL does not SOAP binding

    We have designed a simple process flow (exposed as a webservice) that consists of 2 separate services.
    Something like this:
    entry->service1->service2->exit
    We get the following error 'WSDL does not have SOAP binding'
    Annotation: Caught Compilation Error(s).
    Please fix before proceeding.
    com.stc.codegen.framework.model.CodeGenException
            at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:409)
            at com.stc.wsclient.design.codegen.impl.WSClientCodelet.generateFiles(WSClientCodelet.java:435)
            at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.processCodelets(CodeGenFrameworkImpl.java:602)
            at com.stc.codegen.frameworkImpl.model.CodeGenFrameworkImpl.process(CodeGenFrameworkImpl.java:1263)
            at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:395)
            at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.process(DeploymentVisitorImpl.java:307)
            at com.stc.codegen.frameworkImpl.model.DeploymentVisitorImpl.traverseDeployment(DeploymentVisitorImpl.java:267)
            at com.stc.codegen.driver.module.DeploymentBuildAction.loadCodeGen(DeploymentBuildAction.java:901)
            at com.stc.codegen.driver.module.DeploymentBuildAction.access$700(DeploymentBuildAction.java:173)
            at com.stc.codegen.driver.module.DeploymentBuildAction$1.run(DeploymentBuildAction.java:590)
            at org.openide.util.Task.run(Task.java:136)
            at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
    Caused by: com.stc.codegen.framework.model.CodeGenException
            at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateBeans(JaxRpcCodelet.java:483)
            at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateFiles(JaxRpcCodelet.java:407)
            ... 11 more
    Caused by: com.stc.codegen.framework.model.CodeGenException:  WSDL does not have SOAP Binding
            at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.showWarningSOAPBinding(JaxRpcCodelet.java:761)
            at com.stc.wsclient.design.codegen.impl.JaxRpcCodelet.generateBeans(JaxRpcCodelet.java:464)
    .. ... 12 moreAny idea's?
    regards,
    Vinod

    Hi Vinod,
    the two web services being called are two different web services (two WSLDs) or one web service but two different operations (one WSDL)?
    In latter case you have to define new partner in your process and assign it to one of the web services calls. Then you will have one more partner also in connectivity map and you have to connect it to new web service application and map it in deployment profile.
    Regards,
    Juraj

  • WSDL for WSDL based Proxy that does not have any input

    Hi all,
    I am trying to create a service which is based on a db adapter. The db adapter is created using a procecure that does not accept any input and gives out a cursor. I have created a
    proxy based on a wsdl which was created by me. I have not given any soap:body in the input as I dont have any input for this service. When I test the service it is not going into the
    request pipeline instead what ever the input (Here input in the sense even the proxy does not have any input as per the wsdl we need to give some xml tag to test it right?)
    to the proxy service is getting echoed back. It is neither going inside the request pipline nor Invoking the business service. When I create a proxy service as a plain xml then It is
    working fine. I am very confused and donno what to do.. Kindly help me on this.
    thanks
    Edited by: 887737 on Apr 5, 2012 4:20 AM
    Edited by: 887737 on Apr 5, 2012 4:21 AM

    it depends on the selection algorithm you have on the proxyservce
    on the fourth tab you can dispatch based on soapaction/body/header/etc
    you could dispatch on the soapaction and skip the body

  • Workshop 10.3 generated WSDL does not conatain policy assertions

    when I use a WS-RM policy in my JWS the workshop generated WSDL (right-click gen WSDL) does not conatain these assertions.
    bug? is documented somewhere?

    Yes of course the policy is located with the jws.
    For the the mtom, it does not work for WLS 9.2 target.
    your sign example does not work because it is missing the policy: so if I change it to
    @Policy(uri="policy:sign-policy.xml") and try then
    I cannot see any Policy assertions in the WSDL.
    if I try with
    @Policy(uri="policy:sign-policy.xml",attachToWsdl=true)
    I get:
    attachToWsdl can not be set to true for policy "policy:sign-policy".
    see my other posting for this.
    Again it does not even work with the WS-RM example provided with WLS92
    maybe it is related to the WLS version??

  • HT4009 I let a child use my iPod and she purchased a lot of doeses for idoser and I did not have the money on my card. Now I can't download anything at all without using a new credit card or paying for it. How do I cancel it

    I let a child use my iPod and she purchased a lot of doeses for idoser and I did not have the money on my card. Now I can't download anything at all without using a new credit card or paying for it. How do I cancel it

    First, to prevent this from happening again, turn off "In App purchases" in the Restrictions settings on your iPod. You may also want to turn off the ability to install apps, to prevent purchases in case the child gets hold of your iTunes Store account information, and set the password to be required immediately. For more information, see:
    http://support.apple.com/kb/HT4213
    As to a refund, that's not automatic since the terms of sale for the iTunes Store state that all sales are final. You can contact the iTunes Store, explain the reason for your request, and ask, though:
    http://www.apple.com/support/itunes/contact.html
    They're usually pretty lenient in the case of inadvertent purchases by children. No guarantees, though, just as if your child was in a store and ate a bunch of food (in other words, something that can't just be returned).
    Good luck.

  • I have an Apple Configurator install that wont recognize an iPad when I attach it via USB.  I cant prepare it or refresh it.  It was supervised.  I get an error message that says "policy does not have correct profile data".  Please help!!!

    I have an Apple Configurator install that wont recognize an iPad when I attach it via USB.  I cant prepare it or refresh it.  It was supervised.  I get an error message that says "policy does not have correct profile data".   At some point there was a mismatch between the profile on the iPad and the MAC server.  The profile on the MAC server has been deleted and the iPad has been erased and reset to default.  I need to be able to get Configurator to recognize this device to prepare it for deployment and issue Apps to it.   Please help!!

    Run the application 'Terminal.app' which you will find in '/Applications/Utilities' on your Macintosh.
    Type this into it: defaults delete com.apple.configurator PreprationSavedPolicyDefaultsKey
    Hit the return key.
    If you get no error message, it worked, and you can quit the app.

  • Fail to open the group policy object. you might not have thw appropriate right

    fail to open the group policy object. you might not have thw appropriate right

    Hi,
    Would you please let me know which account you use to open GPO? Was it a Domain Administrator? Please refer to following KB and check if can help you to troubleshoot this issue.
    "Failed to Open the Group Policy Object" Error Message Occurs When You Try to Open a Policy As a Domain Administrator
    Meanwhile, please open Event Viewer and check if find some relevant events.
    If any update, please feel free to let me know.
    Hope this helps.
    Best regards,
    Justin Gu
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • I down loaded two movies to watch on a flight, when I tried two watch either one of them, it said" not authorized for this content"   Not sure what this means. I don't think I have child control on.

    I Down loaded two movies to watch on a flight. When I tried to watch either one of them it said " not authorized to watch this content" and it would load to watch. I donot believe I have child controls on.

    I have read about some cases where movies rented or purchased on one device will not play on another device. Seems to happen mostly with Apple TV and iPads. One way some have worked around it is to cable from the downloaded device to a TV or Apple TV.
    Were these movies purchased or rented from iTunes? Not sure, but that almost sounds like a iTunes Password problem. Maybe try checking that you're signed in as the same account that purchased the movies.

  • WSDL Metadata not available to create the proxy, either Service instance or ServiceEndpointInterface com.microsoft.bingads.campaignmanagement.ICampaignManagementService should have WSDL information

    package com;
    import java.rmi.*;
    import com.microsoft.bingads.*;
    import com.microsoft.bingads.campaignmanagement.*;
    public class AdExtensions   {
        static AuthorizationData authorizationData;
        static ServiceClient<ICampaignManagementService> CampaignService;
        private static java.lang.String UserName = "chandan-ai";
        private static java.lang.String Password = "Algo1234";
        private static java.lang.String DeveloperToken = "BBD37VB98";
        private static long CustomerId = 9548596;
        private static long AccountId = 38360461;
        public static void main(java.lang.String[] args) {
            try
                authorizationData = new AuthorizationData();
                authorizationData.setDeveloperToken(DeveloperToken);
                authorizationData.setAuthentication(new PasswordAuthentication(UserName, Password));
                authorizationData.setCustomerId(CustomerId);
                authorizationData.setAccountId(AccountId);
            //      String namespace ="https://bingads.microsoft.com/CampaignManagement/v9";
                //  String url ="https://api.sandbox.bingads.microsoft.com/Api/Advertiser/CampaignManagement/v9/CampaignManagementService.svc?wsdl";
           CampaignService = new ServiceClient<ICampaignManagementService>(
                             authorizationData,ApiEnvironment.SANDBOX,
                             ICampaignManagementService.class);
                 ArrayOfCampaign campaigns = new ArrayOfCampaign();
                 Campaign campaign = new Campaign();
                 campaign.setName("Winter Clothing " + System.currentTimeMillis());
                 campaign.setDescription("Winter clothing line.");
                 campaign.setBudgetType(BudgetLimitType.MONTHLY_BUDGET_SPEND_UNTIL_DEPLETED);
                 campaign.setMonthlyBudget(1000.00);
                 campaign.setTimeZone("PacificTimeUSCanadaTijuana");
                 campaign.setDaylightSaving(true);
                 campaign.setDailyBudget(52.00);
                 campaigns.getCampaigns().add(campaign);
              ArrayOflong campaignIds = addCampaigns(AccountId, campaigns);
              printCampaignIdentifiers(campaignIds);
             } catch (Exception ex) {
                 // Ignore fault exceptions that we already caught.
                 if ( ex.getCause() instanceof AdApiFaultDetail_Exception ||
                      ex.getCause() instanceof EditorialApiFaultDetail_Exception ||
                      ex.getCause() instanceof ApiFaultDetail_Exception )
                 else
                     System.out.println("Error encountered: ");
                     System.out.println(ex.getMessage());
                     ex.printStackTrace();
         // Adds one or more campaigns to the specified account.
         static ArrayOflong addCampaigns(long accountId, ArrayOfCampaign campaigns) throws RemoteException, Exception
             AddCampaignsRequest request = new AddCampaignsRequest();
             // Set the request information.
             request.setAccountId(accountId);
             request.setCampaigns(campaigns);
             System.out.println(request.getCampaigns() + "\n"+ request.getAccountId());
             return CampaignService.getService().addCampaigns(request).getCampaignIds();
         // Prints the campaign identifiers for each campaign added.
         static void printCampaignIdentifiers(ArrayOflong campaignIds)
             if (campaignIds == null)
                 return;
             for (long id : campaignIds.getLongs())
                 System.out.printf("Campaign successfully added and assigned CampaignId %d\n\n", id);
    when running this program i am getting error
     WSDL Metadata not available to create the proxy, either Service instance or ServiceEndpointInterface com.microsoft.bingads.campaignmanagement.ICampaignManagementService should have WSDL information
    javax.xml.ws.WebServiceException: WSDL Metadata not available to create the proxy, either Service instance or ServiceEndpointInterface com.microsoft.bingads.campaignmanagement.ICampaignManagementService should have WSDL information
        at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
        at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
        at javax.xml.ws.Service.getPort(Unknown Source)
        at com.microsoft.bingads.internal.ServiceFactoryImpl.createProxyFromService(ServiceFactoryImpl.java:117)
        at com.microsoft.bingads.ServiceClient.getService(ServiceClient.java:94)
        at com.AdExtensions.addCampaigns(AdExtensions.java:91)
        at com.AdExtensions.main(AdExtensions.java:49)
                                          

    Hello.
    Please make sure you have the correct dependency versions e.g. cxf-rt-frontend-jaxws version 3.0.2. You can find a list of all dependencies for the Bing Ads Java
    SDK here:http://mvnrepository.com/artifact/com.microsoft.bingads/microsoft.bingads/9.3.2-beta
    If you create a Maven project e.g. in Eclipse, the dependencies are included automatically. 
    I hope this helps!

  • Apple Configurator: "Policy does not have correct profile data."

    I keep getting the message "Policy does not have correct profile data." when I'm trying to prepare new devices in Apple Configurator 1.2.  Existing devices work fine, and I was able to prepare a few new devices before getting this error.  Any advice besides "wipe and restart" AGAIN?

    defaults delete com.apple.configurator PreprationSavedPolicyDefaultsKey
    should eliminate the problem, though it will partially reset the default settings in the Prepare pane. Did you delete a configuration profile that had been checked in the Prepare settings?

  • HT201089 How can I approve my childs purchases if I do not have an apple device of my own?

    I bought an ipod for my 10 year old and set up ask to buy. If I am not near her to type in my password immediately, how do I get the messages that an approval is waiting for me if I do not have an Apple device of my own? Is there a way to get these sent to my email?

    No. As the link says you need:
    The organizer can review the item and make the purchase or decline the request right from their own iPhone, iPad, or iPod touch with iOS 8 or Mac with OS X Yosemite.

  • Com.bea.xml.XmlException error for "could not create child element"

    In Workshop 9.2, after I created a project with XMLBeans Builder Builder against the xsd's and created a web service control against a wsdl, I inserted the control in a client project for consumption. However, when calling into a method of the control, I got a com.bea.xml.XmlException, saying "could not create child element" for an object parameter passed in the call to the method. The relevant info in the server console looks like this:
    Caused by: com.bea.xml.XmlException: could not create child element 'wirelessPhoneNumber' for Wrapped XMLBean operation on '<?xml version="1.0" encoding="UTF-8
    "?><m:sendSMSMessage xmlns:m="http://service.xyz.com/provider/mobile/abc/sendSMSMessage/200701/"><ns:behaviorVersion xmlns:ns="http://service.xyz.com/entity/message/2003/">0</ns:behaviorVersion><ns:custNbr xmlns:ns="http
    ://service.xyz.com/entity/party/2003/">Hello</ns:custNbr></m:sendSMSMessage>'
    Does any have an idea what this is trying to tell me?
    Thanks in advance for any help,
    Jason

    Looking into it further, I think it's the parameter wirelessPhoneNumber, which is a complex type from xsd and a java object passed to the call sendSMSMessage, that is having a namespace problem, or other problem.
    This parameter object was from XMLBeans java binding. I created and set it up like this before passing it to the call:
    PhoneNumberType phoneNumberType = phoneNumberType.Factory.newInstance();
    phoneNumberType.setFormat(PhoneNumberFormatEnum.FREEFORM);
    phoneNumberType.setFullNumber(phoneNumber);
    Obviously, com.bea.xbeanmarshal.buildtime.internal.util.XmlBeanUtil.createWrappedXBeanTopElement of XmlBeanUtil.java had a problem creating a wrapper element for it.
    Any clue from anyone?
    Jason

  • RunTimeFault.wsdl -FaultVariable: not initialized

    I created a copy of RunTimeFault.wsdl locally in JDev/mywork/myApplication/BPELProject/RunTimeFault.wsdl
    I added import between Partner Link and wsdl types in BPELProcess wsdl:
    <wsdl:import namespace="http://schemas.oracle.com/bpel/extension" location="RuntimeFault.wsdl"/>
    I created a FaultVariable in my BPEL.
    But I get warning FaultVariable: not initialized in Assign Activity when I use remoteFault in catch block.
    what is the common location (soa server),if I have to place RunTimeFault.wsdl ,so that I can import in any BPEL process.
    RunTimeFault.wsdl
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="RuntimeFault"
    targetNamespace="http://schemas.oracle.com/bpel/extension"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.xmlsoap.org/wsdl/">
    <message name="RuntimeFaultMessage">
    <part name="code" type="xsd:string"/>
    <part name="summary" type="xsd:string"/>
    <part name="detail" type="xsd:string"/>
    </message>
    </definitions>
    Also, can anyone please tell me the location (soa server) where I should put faultpolicies.xml and faultbindings.xml
    I am using SOA 11G .
    Thanks

    If you use the following statement to import the runtimefault.wsdl, you dont have to copy your RunTimeFault.wsdl any where
    <wsdl:import namespace="http://schemas.oracle.com/bpel/extension" location="oramds:/soa/shared/bpel/RuntimeFault.wsdl"/>
    faultpolicy.xml, fault-bindings.xml can be placed in the same folder as the composite.xml. I this case this policy would apply to the composite in the same directory.
    If you want to palce them in different locaiton, you need to set two properties in composite.xml
    oracle.composite.faultPolicyFile
    oracle.composite.faultBindingFile
    Thanks
    --Sreeny                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Asking the Bridge Team:  Bridge "working color space" setting when one does not have the Suite?

    Common sense tells me there is really no such thing as a
    "working color space" in Bridge, because
    Bridge is not an image editor, just a browser
    Therefore, this may turn out to be a purely academic question; but that doesn't keep my curiosity from forcing me to ask it anyway. ;)
    Is there a way to set the Bridge
    "color settings" when one does not have the suite?
    The only Adobe program I keep up to date is Photoshop, so I've never had the suite. My version of Photoshop is 11 (CS4) and I run updated
    (not upgraded) versions of Adobe Acrobat 7.x, Illustrator 10.x and InDesign 2.x. Consequently, the Synchronize color settings command is not available to me.
    It seems to me that Bridge is behaving like a proper color-managed browser (e.g. Firefox with color management enabled), in that it displays tagged image files correctly and assumes sRGB for untagged image files. This normally works fine.
    But what if I wanted Bridge to assume my
    Photoshop color working space for untagged images
    so that it behaves the same as Photoshop? I'm just curious, as I deal with a minuscule, practically negligible amount of untagged files.
    My reason for bringing it up now is that I don't recall this being explicitly mentioned in forum replies when users inquire about color settings in Bridge. A recent post regarding Version Cue in the Photoshop Macintosh forum got me thinking about this. Just wanting to make sure that I'm right in my assumption that
    there is really no such thing as a
    "working color space" in Bridge, because Bridge is not an image editor, just a browser.
    Thanks in advance.

    Hi Ramón,
    Thanks for sharing the outcome of your tests. However, I may have found a bug/exception to Bridge's colour management policy!
    It appears that CMYK EPS photoshop files are not colour managed in Adobe Bridge, even if they contain an embedded ICC profile.
    I've tried every combination in the EPS 'Save As' dialogue box, so it doesn't seem to be an issue with file encoding. Also, Bridge doesn't rely on the low-res preview that is held within the EPS itself.
    My guess is that Bridge is previewing the CMYK EPS with a Bridge-generated RGB image, but it's being displayed as monitor RGB (assigned) rather than colour managed (converted to monitor RGB). For most users the difference will be barely perceptible, but the problem became very noticeable when using Bridge to preview Newsprint CMYK images on a wide-gamut monitor (images that should have appeared muted really leapt off the screen!).
    How do I report this to the Colour Police at Adobe?!?

Maybe you are looking for

  • Select from two tables and insert into a third

    I'm trying to do a select from two tables and do an insert into a third table from the two resulting columns. I have the following.... DECLARE tempsid number; temphostid number; BEGIN select "DBSID_ID","ID" into tempsid,temphostid from "DBSIDS","SERV

  • Cant Burn Data Dvds HELP!

    Actually Im not sure I can burn any Dvds at all! Im on a toshiba satelittle L305-s5919....and ive had it for quite a few years but ive never tried to burn anything before. Ive downloaded three diffrent programs and each program gives me basically-rth

  • Ipad not finding my location, all location setting are on?

    Ipad not finding my location, all location setting are on?

  • How exact is the Find the iPhone app when lost?

    I lost my phone in a movie theater and it is showing up on a nearby freeway (where I wasn't at) which isn't where I lost it and I was told that it isn't exact if it is in an area that doesn't have good reception it would indicate anywhere within a fi

  • Pagemaker 2.0

    Yes I know this is a very long shot, but can anyone convert what I believe are mac pagemaker 2 documents to pm 6.5/ 7 and or to Indesign (any version).  Nothing critical here, but would make a friend's father happy. Jay