Posts

web services - best way to generate wsdl in php for java axis client -

I am consuming a web service written in PHP. I am using the axis to generate client jars on my behalf, but when I prepare and request client code from WSDL, then request that XML has a multirif tag and PHP server does not understand this tag can. I will ask them to generate a wsdl in a new way. What are the best ways for customers who use the method axis to create wsdl I have searched and have several ways in php? Do you have such a problem before? If yes, what did you do? Thank you. service RPC-encoded, I ask them to replace RPC-literal and solve the problem is.

Google Trusted Stores Shipmet feed Carrier in Magento -

I have an issue with the feed that will be sent to my Google Merchant Account (order_shipments.txt), it has 4 columns Merchant Order ID Tracking Number Carrier Code Other Carrier Name Ship Date I, for free shipping as my free shipping, with my shipping shipping shipping method, for free shipping. Determined, the problem is that all the tracking numbers under my feed The shows (as others) and I under its feed conveyor either require UPS or USPS I because every time we enter an order send us the tracking number and carrier for shipment. Appreciate any suggestions. Hopefully I'm not too late! We compromise this exact issue only (as well as other) and have documented necessary modifications in the document Look at the comments in discussions on the carrier's names in the post We are looking to create a patch extension so that you do not modify the main trust files. I know this solution works for you! Regards, Evan

Setup a complicated row test with nunit and TestCaseSource and TestCaseData -

For each relatively return value such as 2 or 4, I want to pass this value as the parameter of the unit test method . But I get an exception that the parameters are not correct. When I remove the countExpected parameter, then the unit test gets cured, I can not just emphasize countExpected ... Is this scenario NUnit's Is it possible at all? [Test, TestCaseSource ("VisibleWeekDays")] Public Zero Test (DayOfWeek [] shown setup, Int Counted) {// ARRANGE // ACT // ASSERT Assert.That ( Period. Count), is.EqualTo (countExpected)); } Private Stable IEnumerable & lt; TestCaseData & gt; VisibleWeekDays Returns (yield yields new testsecondata (new dayoffice [] {dayoff vink)} returns (2); returns new testseadata (new dayoffice [] (day vioch, day, vic.monday)) returns (4 ); // more days ...}} see explanation: . Return Expected result to return to the method, which should have a corresponding return type. TestCaseData If you want to use .Returns () , you mu...

Nested include statements for ease of programming c/c++ -

Good practice aside, I'm just trying to do coding for myself. It is possible that a header file is able to handle innumerable insertions so that a header can be included in a source? EDIT: Some of you are referring to Coco I forgot to mention C / C ++ programming in this tag, but I forgot to keep it here. EDIT: It does not matter that I stepped on an anthill with this question. Lessons learned. It is possible, but I would not say that a good programming style You are going to increase source code dependency, depending on whether you will not be able to recompile everything without compiling it again, and lose track of your part. P> Individually, I would say do not do that.

python - unable to get redirect work in google app Engine -

I am starting with Google App Engine, and I am trying to go through the Google app HelloWorld app. Redirecting URL does not work when using self.redirect ('/' + urllib.urlencode ({'guestbook_name': guestbook_name})). This redirect should display the correct URL in urlbar like http: // localhost: 8080 / guestbook_name = some_name Displays this, while http: // localhost: 8080 /? Guestbook_name = class men page (webapp2.RequestHandler): def find (auto): guestbook_name = self.request.get ('guestbook_name') greetings_query = Greeting.all. () Kancestor (Guestbook_key (Guestbook_name)) Order ( '- on') congratulations = greetings_query.fetch (10) If users.get_current_user (): url = users.create_logout_url (self.request.uri) url_linktext = 'logout' rest : url = users.create_login_url (self.request.uri) url_linktext = 'Login' template_values ​​= { 'Congratulations' greetings,' url ': URL,' url_linktext ': ...

mysql - replace string inside the table sql -

I have a problem about replacing the string in mysql table with some requirement. You can view my current table: + ---- + ------------------------ + | ID | Data | + ---- + ------------------------ + | 1 | [Lesson 1] MyText 1 [/ lesson 1] | | | [Text2] MyText 2 [/ Lesson 2] | | | [Lesson 3] MyText 3 [/ Lesson 3] | | | [Text4] mytext4 [/ text4] | | + ---- + ------------------------ + then change me to The problem is: [ 3] [text3] mytext3 [/ text3] [text3] mytext5 [/ text3] and the problem is: How can I change the content between [textX] and [/ textX]? Any ideas? Like to search for hit, then change to change: mytable set data = (data, 'mytext3', 'mytext5'), where '[text%] mytext 3 [/ text%]' data such as

vbscript - I would like to delete 7 days older, files. folders and empty folders -

After I want to delete 7 days old, delete files and empty folders. I have used the script below from the link, but since the souce is pointing directly to the letter drive, some files and folders are not being removed. However, if we change the source folder then c: \ temp \ lab everything works fine. const active = true const sSource = "E:" Const MaxAge = 7 'day const Recursive = True checked = 0 deleted = 0 set OFSO = CreateObject ("Scripting.FileSystemObject") if Active "action" = "delete" "other verb =" old file: "" "checkfolder osso. Gatefolder (ssro) WScript.echo if activated then action =" file has been deleted "other action =" file (s) Removed "WScript.Echo checked" & checked file (s), & amp; deleted & verb sub checkfolder (offender) each off Checked in oFldr.Files = Checked + 1 if Detoff ("D", Opile. DataList, now ())> MaxAge then deleted deleted + 1 WS...