Importing external document to SOAP message import not working? - web-services

I am trying to integrate Service Now and Cisco UC Manager. I have gotten the WSDL from CUCM, as mentioned in Cisco DevNet: Administrative XML (AXL) - How To. The files are attached below. I also set up a Service Now developer instance, and I try to load the SOAP message provided into Service Now without success.
So I follow the instruction given here:
Create a SOAP message from a WSDL that references an external XSD file. Works fine with the sample SOAP provided.
Then I proceed to copy paste the content of AXLAPI.wsdl into WSDL XML field. Click submit and works fine so far. The windows return to the list of SOAP messages with the newly created CUCM.
Click on CUCM to enter again and go to SOAP message Imports. Create a New one and enter the content of AXLSoap.xsd into the external documents field.
SOAP Message Import
Choose Submit. Then things get weird. A new page is loaded:
A new SOAP Message Import page appears
Now you may notice this page is EXACTLY the same as the previous one. So I tried to enter the details again and click Submit, then a blank page appears again and apparently the data I entered was not recorded and no message was imported.
Now what I think might be the problem is the input message is too long for Service Now to process, as if I truncate the above file then it is submitted and recorded (although it won't work because there are functions missing). So after trying around I ended up in some system definitions tables, with one called sys_soap_message_import, which is where records from SOAP Message Imports is supposed to end up in. There is a column called External Documents with the maximum length set to 75000 (I'm not sure of the unit). So I thought this might be the case and increased it to the maximum allowable length but after trying again the problem has not been solved.
Is there any workaround this? The documents I attach is around 3MB, 50000 lines and 3 million characters. I set the maximum length to 2 billion without any success.
What might be the problem and how can I solve it? Has anyone successfully integrated Service Now and CUCM?
add https:// to the below links
AXLSoap.xsd: ufile.io/wfb4n
AXLAPI.wsdl: ufiles.io/wo5z5

Related

Using the Publisher overview_version error and incomplete information displayed

I am seeing interesting behavior with the WSO2 Publisher for both Governance Registry as well as Enterprise Server when I am using self-defined asset types. There are two items of concern - the one is that I can successfully save an asset type and capture details against it within the Carbon admin console. This works and works well.
However, when I view the asset in the Publisher, only some of the values that has been captured in the admin console are visible. All of the fields (labels) show up, however some are empty. I can however view them successfully in the Admin Console. What I also find interesting is that if I then update the entry in the Publisher and capture new values for the fields that aren't being displayed, I can see the changed values in the Admin Console - so certainly updating from the Publisher is reflected. Once I've done the Publisher update, the values reflect as they've been captured.
The other dilemma is that when I want to capture a new asset from the Publisher itself, I get an error that the asset cannot be created. The error is "Error while creating asset for the request due to overView_version is not provided. Please provide a value for overview_version since it is a required field". I don't have an overview_version field defined within the asset definition. Actually, there is no version information being captured at all as the asset won't go through a version change.
Any idea what could be causing this? I've tried this under both WSO2 GREG (v5.0.0) as well as WSO2 ES (v2.0.0) and both exhibit the same behaviour. At the moment I am using the Admin Console primarily to capture data, however I would prefer to use the Publisher as the dependency graphs are very useful.
I know it may be a bit too late but I believe this is caused by the versionAttribute property defined in the {CARBON_HOME}/repository/deployment/server/jaggeryapps/publisher/extensions/assets/default/asset.js:configure function [1].
Can you try setting this property to an empty string.
[1] https://github.com/wso2/carbon-store/blob/master/apps/publisher/extensions/assets/default/asset.js#L209
This occurs because you haven't indicated that your not using version attribute in your artifact. To overcome the issue please find below code line in asset.js which is located in here(1).
versionAttribute: 'overview_version',
and change it to an empty string like below.
versionAttribute: ' ',
Now you have to restart the carbon server.
(1) - CARBON_HOME/repository/deployment/server/jaggeryapps/publisher/extensions/assets/default/asset.js

Jmeter : random users are visible at parameterize script execution

I am new to Jmeter and with the help of blogs and SOF, I could able to manage the record and parameterize the Script.
I am testing ASP.Net web application which uses Windows Authentication and AD.
The problem here is after execution in View Result Tree I can see the old user http page. For example I recorded the script with USer A and I parameterized all the varaible required to run the same script with user B. But at execution I can see User A session is loading and the data created by this transaction is corrupted which has some values of User A and User B.
I tried using Post processor >> Regular expression extractor for capturing ViewState and EventValidation and kept it back to post request now error is resolved but transaction itself is not happening. No new data created after this change.
Please help me. I am confused now what I am doing wrong here.
It seems that you have hard-coded "Authorization" header which identifies all your virtual users as "User A". If it is the case - this header needs to be removed from all the requests and you need to construct a proper one with HTTP Authorization Manager.
See Windows Authentication with Apache JMeter to learn about how to properly setup JMeter for dealing with Active Directory logins. It is possible to parametrize usernames, passwords,domains, etc. as normal using CSV Data Set Config.

Upon adding a new document to a docLib, send a link to the document to an external user

I am working on creating a 2013/SharePointOnline workflow that will start when a new document is added to a specific document library, and then send an email, to an external user, with a link to the document.
For the purposes here, an external user, is a user who does not, and will not have an account in SharePoint. We will have the users name and email address.
Good stuff
I have a workflow that starts with a document is added.
The workflow then extracts a bit of meta data. (this works)
I can fire off an email to any internal user.
Problem:
When trying to send an email to an external user the workflow registers an error
This problem has several solutions I can find online, the easiest of which is
In Central Admin and Web Apps general settings - choose Workflows.
Adjust the setting "Allow external users to participate in workflow by sending them a copy of the document?" to yes.
Default is no.
But I have a really hard time finding this option in SharePoint online / 365.
I must not be looking in the right places. Does anyone know where I can find it?

Liferay web service

I use Liferay 6.1.1-ce-ga2 bundled with Tomcat server and Oracle 10g database.
My goal is to insert some content, as Journal Article, and display them in an Asset Publisher (with a structure and template, already working).
I used JournalArticleServiceSoap.addArticle(...) with the right fields (groupid, structureid, templateid, ...). The contents are "correctly" inserted in the database and I can see them inside web contents from administrator content panel. The contents have also "Approved" as status. This is done by setting:
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH)
However, I can't see the inserted contents displayed with the other contents in the Asset Publisher, until I open it again for edition and click on publish button (even without changing nothing). Then the content is published as expected. The problem is the number of contents. It is about 600 so I can't to this action for each one.
I do not understand what is the matter and how to figure it out? In other words, what do I have to do to make the web-content inserted by web service display automatically in Asset Publisher?
Or, what does the "Publish" do exactly so I can try to reproduce programmatically with SOAP service (or SQL after insertion)?
Thank you in advance for your help.
I've also posted the same question in Liferay' forum: Problem to display JournalArticle inserted by SOAP web service
you can try to log the database accessing from Liferay and see what will be changed after you save article manualy. Herefor set the logging level of hibernate to info or debug.
are you setting serviceContext like this?
ServiceContext serviceContext = new ServiceContext();
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(WorkflowConstants.ACTION_PUBLISH);
You must setting serviceContext Like This:
ServiceContext serviceContext = new ServiceContext();
//serviceContext.setAddGuestPermissions(true);
//serviceContext.setAddGroupPermissions(true);
serviceContext.setScopeGroupId(groupId);
serviceContext.setWorkflowAction(1);
serviceContext.setIndexingEnabled(true);
serviceContext.setIndexingEnabled(true); is Very Important.
The following code is not must requeired.
serviceContext.setAddGuestPermissions(true);
serviceContext.setAddGroupPermissions(true);

Does the FedEx shipping API have a SOAP endpoint?

Does the FedEx shipping API have a SOAP endpoint? I'm unable to find the WSDL endpoint.
Their site has changed since the other 2 answers here.
The most direct answer is that they do not have a classic WSDL endpoint, where you just get a URL, Add Service Reference and go.
Instead they have you download a zip file which contains a wsdl file which you then use locally - pretty odd. That wsdl file changes name over time, as does the zip, with every version - but the current file is at:
https://images.fedex.com/templates/components/apps/wpor/secure/downloads/wsdl/201607/standard/RateService.zip
My guess is you can get at it without logging in given the images subdomain, likely a CDN.
Once that link dies here's how you currently navigate their obtuse Developer section, which they'll probably also change again:
http://www.fedex.com/us/developer/
Click FedEx Web Services on the left
Under the unclickable "Document and Downloads" part of the page, click Move to Downloads
Scroll to the bottom - there's a weird table with service names like "Quote Rates." Each time you expand a row, the header row will have some Download text stuffed into it. Clicking "WSDL" gets you the zip file.
Not the worst process for getting a simple WSDL I've seen but, they're definitely in the running.
Yes it would appear so.
http://www.fedex.com/us/developer/solutions.html
I am not sure if they have the WSDLs available remotely, but they do provide the WSDLs for download on their Technical Resources page on their developer solutions page, to which you need a login with FedEx.
You can use this endpoint
https://wsbeta.fedex.com:443/web-services
i found it from here
https://stackoverflow.com/a/57176378/5374995
Or you can find endpoint on the bottom of WSDL file with name="RateService"